An open API service indexing awesome lists of open source software.

https://github.com/compsigh/cue

Study with AI-powered Active Recall
https://github.com/compsigh/cue

active-recall mongodb nextjs openai react studying vercel

Last synced: about 1 month ago
JSON representation

Study with AI-powered Active Recall

Awesome Lists containing this project

README

        


Cue banner

Cue



Study with AI-powered Active Recall


Learn More ·
Docs ·
Live Beta (limited) ·
Contributing



## Features

- Converts notes into Active Recall questions
- Currently supports text pasting, with Google Docs and Notion coming soon™

## Stack

- [React](https://react.dev)
- [Next.js](https://nextjs.org)
- [Sass](https://sass-lang.com)
- [NextAuth.js](https://github.com/nextauthjs/next-auth)
- [Vercel KV](https://vercel.com/docs/storage/vercel-kv)
- [Vercel Edge Functions](https://vercel.com/docs/concepts/functions/edge-functions)

## Contributing

Contributions are welcome and much appreciated! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for more details.

### Getting set up

Setting up your own instance of Cue can be done in a few steps. We're working on simplifying this process, and are open to suggestions.

First, clone the repo. Then, create a `.env.development.local` file with the following keys:

```text
# NextAuth
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET // generate with `openssl rand -base64 32`

# Google OAuth
GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET

# OpenAI
OPENAI_API_KEY

# Vercel KV
KV_URL
KV_REST_API_URL
KV_REST_API_TOKEN
KV_REST_API_READ_ONLY_TOKEN
```

This will require you to create your own Google OAuth app, generate your own OpenAI API key, and set up your own Vercel KV database.

When you're ready, run `npm run dev` to start the development server.

Your instance of Cue should now be running on [localhost:3000](http://localhost:3000/).