Experiments with Threlte, a framework to use ThreeJS with SvelteKit.
Go to file
Silas c24cca4b92
fix links in readme
2024-06-04 23:45:36 -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 trivial commit to test git hook 2024-06-04 23:27:42 -04:00
static buncha of styling changes/fixes, add more projects and refine the mobile experience, add opengraph metadata, add footer that links to source code 2024-06-04 22:49:05 -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
LICENSE.md buncha of styling changes/fixes, add more projects and refine the mobile experience, add opengraph metadata, add footer that links to source code 2024-06-04 22:49:05 -04:00
README.md fix links in readme 2024-06-04 23:45:36 -04:00
package-lock.json more attempts to fix build 2024-06-04 03:19:48 -04:00
package.json more attempts to fix build 2024-06-04 03:19:48 -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.

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.