Skip to content

ahmedbesbes/cowriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cowriter

Cowriter helps you automatically or semi-automatically write technical blog posts.

It first asks you about a topic of interest, then guides you through the process of writing the introduction as well as the subsequent sections.

It can also go wild in autopilot mode (use this responsibly)

Tools and libraries used

  • Langchain 🦜 to build and compose LLMs
  • Rich to build a cool terminal UX/UI
  • Poetry to manage dependencies

Third party services

  • OpenAI (🔑 needed)

Run the app locally

  • Install dependencies with poetry
poetry install --with dev
  • Add API credentials

Create .env file at the root of the project with the following keys:

OPENAI_API_KEY=<OPENAI KEY>

More info on these credentials here

  • Run the app
make run-cowriter