An app to grind less, performance better, with a set of specialized AI, like summary texts.
Learning and show purporse.
You are free to use and modify this :p
-
./apis
: The API code, written in Rust and Actix-Webnervio-limiter
for rate limit (written by me)postgres
for dbactix-web
as frameworkgoogle
as auth method
-
./grindless
: The client, written in NextJS.shadcn
for componentsaxios
for api requeststailwind
for stylinggoogle
as auth method
client can run instantly (consider change config in ./grindless/src/config.json
)
for backend you need to create certs and .env
This is to sign tokens
cd ./apis/grindless-core-api && chmod +x ./generate_certs.sh && ./generate_certs.sh
touch ./apis/grindless-core-api/.env && nano ./apis/grindless-core-api/.env
PRODUCTION=false
HOST=0.0.0.0
PORT=80
DEV_PORT=8080
POSTGRES_URL=not_transactional_postgres
LOGGER_LEVEL_FILTER=debug
GOOGLE_CLIENT_ID=***.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=GOCSPX-********
GOOGLE_CLIENT_REDIRECTS=https://your_production_domain.com/oauth/google/callback,http://localhost:3000/oauth/google/callback
# anthropic is used by default by api
ANTHROPIC_API_KEYS=your_keys
OPENAI_KEYS=your_keys
OPENAI_BASE_URL=https://api.openai.com/v1/