Skip to content

viveknathani/writebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

writebase

An AI-powered writing engine. Connect your sources, research ideas, and generate drafts - all from one place.

how it works

  1. Connect your content sources (Twitter, blogs)
  2. Set topics you care about
  3. Run the research agent — it reads your sources and generates writing ideas
  4. Pick an idea and let the writing agent draft it for you

stack

  • Web: Next.js, React, Tailwind CSS, Clerk
  • Server: Hono, Drizzle ORM, BullMQ, Pino
  • AI: Vercel AI SDK, Langfuse
  • Infra: PostgreSQL, Redis, Bun

setup

You will need Docker, Bun, and a few API keys.

# start postgres and redis
docker compose up -d

# install dependencies
bun install

# set up environment
cp .env.example .env
# fill in your keys

# run migrations
bun server:migrate:up

# start dev servers
bun server:dev
bun web:dev

project structure

apps/
  server/    hono api, agents, queues
  web/       next.js frontend

license

MIT

About

AI agents for research and writing.

Topics

Resources

Stars

Watchers

Forks

Contributors