Mirror of source code of my personal website hosted on Vercel, https://youwen.dev
Find a file
2024-05-05 21:56:37 -07:00
.github ci: add mdlintrc to check spelling 2024-05-05 21:33:42 -07:00
.vscode style: use spaces and no semicolons in JS 2024-05-05 10:59:14 -07:00
blog/2024 blog: make some small metadata changes 2024-04-25 01:02:19 -07:00
src chore: remove unused zilla slab font 2024-05-05 21:56:37 -07:00
static feat: add file system based static generation 2024-04-07 16:52:54 -07:00
tests style: use spaces and no semicolons in JS 2024-05-05 10:59:14 -07:00
.eslintignore initial commit 2024-04-02 17:35:26 -07:00
.eslintrc.cjs fix: add global types to eslint 2024-05-05 21:07:54 -07:00
.gitignore fix: removed gpg component that was breaking everything 2024-04-05 23:34:56 -07:00
.mdlintrc blog: make some small metadata changes 2024-04-25 01:02:19 -07:00
.npmrc initial commit 2024-04-02 17:35:26 -07:00
.prettierignore initial commit 2024-04-02 17:35:26 -07:00
.prettierrc.toml style: use spaces and no semicolons in JS 2024-05-05 10:59:14 -07:00
components.json chore: rename pcss to css for lsp support 2024-05-05 21:32:02 -07:00
LICENSE chore: update license and readme 2024-04-03 16:30:36 -07:00
package.json chore: remove unused zilla slab font 2024-05-05 21:56:37 -07:00
playwright.config.ts style: use spaces and no semicolons in JS 2024-05-05 10:59:14 -07:00
pnpm-lock.yaml feat: add syntax highlighting for code 2024-04-12 23:44:39 -07:00
post.schema.json style: use spaces and no semicolons in JS 2024-05-05 10:59:14 -07:00
postcss.config.js style: use spaces and no semicolons in JS 2024-05-05 10:59:14 -07:00
README.md chore: use prettierrc.toml and format markdown 2024-04-24 14:12:34 -07:00
svelte.config.js style: use spaces and no semicolons in JS 2024-05-05 10:59:14 -07:00
tailwind.config.js chore: remove unused zilla slab font 2024-05-05 21:56:37 -07:00
tsconfig.json style: use spaces and no semicolons in JS 2024-05-05 10:59:14 -07:00
vite.config.ts style: use spaces and no semicolons in JS 2024-05-05 10:59:14 -07:00

coredump

pnpm

My personal website and its associated blog. Written in SvelteKit using TailwindCSS and components from shadcn-svelte.

Running locally

Install pnpm, clone and cd into the repository, then run:

pnpm install

# for development:
pnpm dev

# for production:
pnpm build
pnpm preview

Adding posts

To add posts, create a directory in /blog. The top level subdirectories should be the year, but there's no hard rules on what the rest of the subdirectories will be. The blog will build itself based on the file structure in /blog/[year]/**, and posts will be located wherever there exists content.md + post.toml files. Check post.schema.json for the specification of the post.toml format. Finally, you can add a .blogignore file to any directory in /blog to exclude it from static rendering (useful for work-in-progress blog posts).

License

The website's source code is licensed under the MIT License. The contents of my blog are licensed under CC BY-NC-SA 4.0.