Experiments with Threlte, a framework to use ThreeJS with SvelteKit.
Go to file
Silas 7d5934faad
update formatting
2025-04-23 07:00:42 -04:00
.vscode get poetry stuff workin 2024-05-29 18:33:13 -04:00
scripts add new start script to run in production, remove old deploy script 2025-01-23 19:07:27 -05:00
src update formatting 2025-04-23 07:00:42 -04:00
static add sekai photo 2025-04-22 11:16:50 -04:00
.editorconfig init commit 2024-04-30 18:59:39 -04:00
.eslintignore init commit 2024-04-30 18:59:39 -04:00
.eslintrc.cjs init commit 2024-04-30 18:59:39 -04:00
.gitignore add vite plugin for ai robots 2025-01-27 16:43:10 -05:00
.npmrc init commit 2024-04-30 18:59:39 -04:00
.prettierignore init commit 2024-04-30 18:59:39 -04:00
.prettierrc init commit 2024-04-30 18:59:39 -04:00
.tool-versions update node, try out threlte uikit 2025-01-23 18:59:39 -05:00
LICENSE add fuzzy search and combine it with semantic search results, update readme, change license file extension 2024-06-10 20:51:35 -04:00
README.md kick CI 2025-01-23 19:16:23 -05:00
package-lock.json fix crash with webgpu renderer 2025-01-27 17:06:58 -05:00
package.json fix crash with webgpu renderer 2025-01-27 17:06:58 -05:00
postcss.config.js add dependencies, add and setup tailwind, cleanup dir structure, test out loading data for a page 2024-04-30 21:18:11 -04:00
svelte.config.js wip, run migration command, fix api 2025-01-21 00:08:18 -05:00
tailwind.config.js get poetry stuff workin 2024-05-29 18:33:13 -04:00
tsconfig.json init commit 2024-04-30 18:59:39 -04:00
vite.config.ts add vite plugin for ai robots 2025-01-27 16:43:10 -05:00

README.md

Playground

Portfolio site of silentsilas

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Generate Embeddings

To create vector embeddings for searching through Markdown posts, simply run:

npm run generate-embeddings

It will traverse through every *.md under src/posts/poetry and generate the embeddings. You would then place the embeddings.json in the src/lib/utils/poetry to let the site run semantic search queries against them.

License

This project is licensed under the MIT License. This means that you can do pretty much anything you want with this code as long as you include the original copyright and license notice in your project.

Content contained in the src/posts folder is under the CC BY-NC-SA-4.0 license. You're free to modify/distribute the posts contained in the src/posts folder so long as it's not for commercial purposes, you give attribution, and point out any modifications you've made.