No description
Find a file
2026-01-10 20:11:57 -03:00
.vscode Move ToS to content collection 2024-12-05 21:46:09 -03:00
public Add attributions to README 2024-11-21 10:06:56 -03:00
src Update to Nix setup and clean up links 2026-01-10 20:11:57 -03:00
.envrc Update to Nix setup and clean up links 2026-01-10 20:11:57 -03:00
.gitignore Update to Nix setup and clean up links 2026-01-10 20:11:57 -03:00
.prettierignore Consolidate socials on index and add View Transitions API support 2024-08-20 00:16:28 -03:00
.prettierrc.mjs More websites, better licenses with TOML, more minute improvements 2024-08-26 00:16:48 -03:00
astro.config.mjs Migrate to Astro 5 2024-12-03 20:24:45 -03:00
bun.lock Update to Nix setup and clean up links 2026-01-10 20:11:57 -03:00
flake.lock Update to Nix setup and clean up links 2026-01-10 20:11:57 -03:00
flake.nix Update to Nix setup and clean up links 2026-01-10 20:11:57 -03:00
LICENSE.md Add GitGud and astro-htaccess integration 2024-08-30 17:21:52 -03:00
package-lock.json Move ToS to content collection 2024-12-05 21:46:09 -03:00
package.json Move ToS to content collection 2024-12-05 21:46:09 -03:00
README.md Update to Nix setup and clean up links 2026-01-10 20:11:57 -03:00
tailwind.config.mjs Initial commit of Astro version 2024-08-15 21:32:14 -03:00
tsconfig.json Update to Nix setup and clean up links 2026-01-10 20:11:57 -03:00

badmanners.xyz

Bad Manners's personal website, built using Astro + Typescript + TailwindCSS.

For attributions, see licenses.toml.

Requirements

  • Bun
  • (optional) rsync or LFTP, for remote deployment.

Development

Setup

git clone https://git.badmanners.xyz/badmanners/badmanners.xyz
cd badmanners.xyz
direnv allow
bun install

Local development

bun dev       # Start development server (quit with Ctrl-C)
bun sync      # Rebuild types from Astro config
bun prettier  # Prettier formatting

Configuration

The following optional environment variable can be set within a .env file:

Name Type Description
APACHE_CONFIG boolean If set to true, generates an .htaccess Apache config file at the root of the output directory.

Build and deploy to remote

bun run build

Then, if you're using rsync, after configuring the websitebm host (or the name of your choosing) in ~/.ssh/config, you can use a command like:

rsync --delete-after -acP dist/ websitebm:/home/public