mirror of
https://codeberg.org/ffloyd/ffloyd.space.git
synced 2026-07-17 14:05:02 +02:00
My personal website
https://ffloyd.space
- Nix 70.1%
- TypeScript 15.8%
- Svelte 9.4%
- CSS 3.1%
- JavaScript 0.8%
- Other 0.8%
| .vscode | ||
| nix | ||
| scripts | ||
| src | ||
| static | ||
| .dockerignore | ||
| .gitignore | ||
| .npmrc | ||
| .nvim.lua | ||
| .prettierignore | ||
| .prettierrc | ||
| AGENTS.md | ||
| bun.lock | ||
| bun.nix | ||
| deploy.sh | ||
| Dockerfile | ||
| eslint.config.js | ||
| flake.lock | ||
| flake.nix | ||
| fly.toml | ||
| opencode.jsonc | ||
| package.json | ||
| README.md | ||
| STYLE_GUIDE.md | ||
| svelte.config.js | ||
| TODO.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
ffloyd.space
Personal website. A website with a collection of things I've built, written, or found interesting.
Development
The project is built with SvelteKit, TailwindCSS, and Bun as runtime and dependency manager.
Use the following commands for development:
bun run dev- Start development server with hot reloadingbun test- Run unit testsbun run build- Build for production (useful as a test of successful compilation)bun run preview- Preview production build locally (no hot reloading)bun run lint- Run all lintersbun run format- Format all filesnix run- run production build (via nix package)nix build .#dockerImage && docker image load -i result- to loadffloyd.space:latestdocker image build using Nix's dockerTools.
Idea
Instead of using some CMS or blog-posting tool like Hugo, I want more flexibility and preferred to use:
- Svelte / SvelteKit as a runtime to not lock-in in static pages only. I can do interactive things more easily if needed.
- Markdown for writing posts, as it's simple and widely supported. A custom Markdown preprocessor is used to have Markdown as a natural part of the codebase and be able to mix Svelte components in it.