Skip to content

Repository files navigation

github.com/a-h/ragmark

Tasks

index

go run cmd/app/main.go index

chat

go run cmd/app/main.go chat -msg "How do I migrate from Jekyll?"

serve

go run cmd/app/main.go serve

ollama-serve

ollama serve

hugo-serve

Dir: site

hugo serve

hugo-build

Dir: site

hugo

gomod2nix-update

gomod2nix

build

nix build

run

nix run

develop

nix develop

docker-build

nix build .#docker-image

docker-load

Once you've built the image, you can load it into a local Docker daemon with docker load.

docker load < result

docker-run

docker run -p 8080:8080 app:latest

sql-vec-download

#TODO: Get this done inside Nix, and use the correct architecture and OS for the download.
wget https://github.com/asg017/sqlite-vec/releases/download/v0.1.1/sqlite-vec-0.1.1-loadable-macos-aarch64.tar.gz -O sqlite-vec.tar.gz

db-run

rqlited -auth=auth.json -extensions-path=sqlite-vec.tar.gz ~/ragmark-node.1

db-migration-create

migrate create -ext sql -dir db/migrations -seq create_documents_table

go-run

go run ./cmd/app

About

Retrieval Augmented Generation of markdown content.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages