Experiments with Threlte, a framework to use ThreeJS with SvelteKit.
Go to file
silentsilas 96f6d87a9f
add new start script to run in production, remove old deploy script
2025-01-23 19:07:27 -05: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 node, try out threlte uikit 2025-01-23 18:59:39 -05:00
static add a profile photo for chatbot, styling fixes, add button to reset session, load an epub instead of our github vector embeddings 2024-09-22 00:19:37 -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 deploy script 2024-09-22 01:32:24 -04: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 add fuzzy search and combine it with semantic search results, update readme, change license file extension 2024-06-10 20:51:35 -04:00
package-lock.json update node, try out threlte uikit 2025-01-23 18:59:39 -05:00
package.json add new start script to run in production, remove old deploy script 2025-01-23 19:07:27 -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 migrate away from deprecated svelte 4 syntax, let ai chatbot use user's keys that's never sent to server, get threlte/studio working, refactor search results 2025-01-23 17:33:08 -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.