Skip to content

Automates blog post creation for coding interviews — fetch problems, generate solutions with LLMs, and publish to WordPress. Powered by Python.

License

Notifications You must be signed in to change notification settings

imansprn/telegraf

Repository files navigation

LeetCode Blog Post Generator

Tests codecov Python Version License: MIT

An automated system that fetches random LeetCode problems, generates blog posts about solving them in Go, and publishes them to either WordPress or Ghost. The service runs continuously and generates posts on a configurable schedule.

Features

  • Fetches random LeetCode problems using GraphQL API
  • Generates detailed blog posts using DeepSeek AI
  • Supports multiple publishing platforms (WordPress/Ghost)
  • Runs as a web service with configurable schedules
  • Implements clean architecture with design patterns
  • Comprehensive test coverage (98%)

Quick Start

# Install dependencies
pip install -r requirements.txt

# Configure environment variables
cp .env.example .env
# Edit .env with your API keys

# Run the server
gunicorn server:app

Documentation

For detailed documentation, see the following guides:

Requirements

  • Python 3.13+
  • DeepSeek API key
  • WordPress or Ghost blog with API access

Contributing

Contributions are welcome! See Development Guide for details.

License

MIT

About

Automates blog post creation for coding interviews — fetch problems, generate solutions with LLMs, and publish to WordPress. Powered by Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published