Skip to content

Building a second brain full of personal, technical, and whatever other knowledge that I can query using vector db and then include as context in chat session with gpt-4

Notifications You must be signed in to change notification settings

danwritecode/second-brain-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust/Axum/Htmx/AlpineJs/Tera/Tailwind Web Dev Yeehaw

To Build Javascript Dependencies (Htmx and Alpine Js)

npm install
npm run build

esbuild is used to bundle all dependencies. Dependencies can be added to app.js and they will be bundle automatically.

For Tailwind CSS Purging/Watching:

npx tailwindcss -i ./ui/assets/tailwind.css -o ./dist/output.css --watch

For Hot Reloading

  1. Install cargo watch watchtower
  2. Run
cargo watch -x run

Templating with Tera

The templating engine used is Tera. It looks similar to Jinja, supports the injection of common components (nav, footer, etc), and supports componentization through the use of macros.

Docs can be found here.

About

Building a second brain full of personal, technical, and whatever other knowledge that I can query using vector db and then include as context in chat session with gpt-4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published