Skip to content

gitgooduoa/ankai

Repository files navigation

AnkAI

A note-taking app that generates flashcards from your notes.

Note

Flashcard generation is handled by the AnkAI AI service.

Setup

Install dependencies:

pnpm install

Copy the env file:

cp .env.example .env.local

Create/link your Convex project:

pnpm convex:dev

Set up Clerk, then add the required Clerk and Convex values to .env.local.

You will also need a running instance of the AI service:

ANKAI_AI_API_URL=
ANKAI_AI_API_KEY=

Add the same AI service values to your Convex environment variables, since flashcard generation runs from Convex.

Run locally

Run these two commands concurrently:

pnpm convex:dev
pnpm dev

Open:

http://localhost:3000

Handy commands

  • pnpm dev - start the app
  • pnpm convex:dev - start the convex dev server
  • pnpm build - build for prod
  • pnpm lint - lint code
  • pnpm format - format code

About

Generate flash cards from your notes using AI ✨

Resources

Stars

Watchers

Forks

Contributors