Skip to content

JeanVydes/grindless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grindless

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

Components

  • ./apis: The API code, written in Rust and Actix-Web

    • nervio-limiter for rate limit (written by me)
    • postgres for db
    • actix-web as framework
    • google as auth method
  • ./grindless: The client, written in NextJS.

    • shadcn for components
    • axios for api requests
    • tailwind for styling
    • google as auth method

Install

client can run instantly (consider change config in ./grindless/src/config.json)

for backend you need to create certs and .env

Create Certs

This is to sign tokens

cd ./apis/grindless-core-api && chmod +x ./generate_certs.sh && ./generate_certs.sh

Create .env in grindless-core-api

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/

Screenshots

Landing Page

Launchpad

Summary Service

Author