Experiments with Threlte, a framework to use ThreeJS with SvelteKit.
Go to file
Silas 4fa4d2d327
more attempts to fix build
2024-06-04 02:28:32 -04:00
.vscode get poetry stuff workin 2024-05-29 18:33:13 -04:00
scripts add semantic search 2024-05-31 01:31:37 -04:00
src more attempts to fix build 2024-06-04 02:28:32 -04:00
static set up services section, get projects working again, set up netlify config 2024-06-03 23:42:28 -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 set up services section, get projects working again, set up netlify config 2024-06-03 23:42:28 -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 get routing working, add index for poetry, list first 6 poems on index, let each take you to their page with the poem's content 2024-05-16 02:52:32 -04:00
README.md set up services section, get projects working again, set up netlify config 2024-06-03 23:42:28 -04:00
package-lock.json more attempts to fix build 2024-06-04 02:28:32 -04:00
package.json more attempts to fix build 2024-06-04 02:28:32 -04: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 switch to using node adapter 2024-06-04 00:56:15 -04: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 dependencies, add and setup tailwind, cleanup dir structure, test out loading data for a page 2024-04-30 21:18:11 -04:00

README.md

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app

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.

To deploy your app, you may need to install an adapter for your target environment.

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.