Skip to content

langchain-ai/robo-blogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robo Blogger

Creating polished blog posts is traditionally time-consuming and challenging. The gap between having great ideas and turning them into well-structured content can be significant. Robo Blogger addresses this challenge by transforming the content creation process. The key insight is that our best ideas often come when we're away from the keyboard - while walking, commuting, or right after a meeting. Robo Blogger leverages this by:

  1. Capturing Ideas Naturally: Instead of starting with writing, simply speak your thoughts using any voice-to-text app
  2. Maintaining Structure: Convert raw ideas into polished content while following proven blog post patterns
  3. Grounding in Documentation: Optionally incorporate reference materials to ensure accuracy and depth

The workflow is streamlined to three steps:

  1. Voice Capture: Record your thoughts using any dictation app (e.g., Flowvoice)
  2. Planning: Claude 3.5 Sonnet converts your dictation and structure into a coherent plan
  3. Writing: Automated generation of each blog section following the plan, using your dictation and any documentation links

This approach builds on concepts from our previous Report mAIstro project, but specifically optimized for blog post creation. By separating idea capture from content structuring, Robo Blogger helps maintain the authenticity of your original thoughts while ensuring professional presentation.

robo-blogger

Quickstart

Set API keys for the LLM of choice (default is Anthropic Claude 3.5 Sonnet):

cp .env.example .env

Clone the repository and launch the assistant using the LangGraph server:

curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/langchain-ai/robo-blogger.git
cd robo-blogger
uvx --refresh --from "langgraph-cli[inmem]" --with-editable . --python 3.11 langgraph dev

This will open LangGraph Studio in your browser.

Required Input

The only required input is the name of the audio dictation file (e.g., audio_dictation.txt in notes folder). You can use any audio-to-voice dictation app (e.g., Flowvoice) to create this file.

notes/audio_dictation.txt

Screenshot 2024-12-16 at 4 53 37 PM

Optional Inputs

Two additional inputs are optional:

  1. A list of URLs to documentation that you want to use to help write the blog post.
  2. A template for the blog post structure.

Screenshot 2024-12-16 at 3 20 10 PM

In the configuration tab, you can provide template for the blog post structure (see ## Customization below for examples).

Screenshot 2024-12-16 at 4 45 12 PM

Customization

We've found that blog posts typically follow a consistent structure. For example, we have:

Templates for different types of blog posts can be passed in as a configuration option.

Product Update Example

URLs provided:

Blog structure provided:

Audio dictation provided:

Resulting blog post:

Perspective Example

URLs provided:

Blog structure provided:

Audio dictation provided:

Resulting blog post:

About

Assistant for voice-to-blog writing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages