Skip to content

felipap/contexter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

context

A Next.js app that exposes your personal data for AI agents to use, and an Electron app that pulls that data from your machine.

Meant for self-hosting.

Deploy

To deploy the web app, you can either:

One-Click Deploy to Vercel

Deploy with Vercel

Required environment variables:

  • DATABASE_URL — PostgreSQL connection string (you can use Vercel Postgres or Neon)
  • DASHBOARD_SECRET — Passphrase to access the web dashboard
  • API_WRITE_SECRET — Secret for authenticating the Electron app when writing data
  • API_READ_SECRET — Secret for authenticating API read requests
  • CRON_SECRET — Secret for Vercel cron jobs (screenshot cleanup)

Optional environment variables:

  • DASHBOARD_IP_WHITELIST — Comma-separated IPs allowed to access the dashboard
  • API_WRITE_IP_WHITELIST — Comma-separated IPs allowed to write data
  • API_READ_IP_WHITELIST — Comma-separated IPs allowed to read data

For rate limiting and other security considerations, see SECURITY.md.

License

MIT

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published