Skip to content

Latest commit

 

History

History
397 lines (289 loc) · 10.6 KB

File metadata and controls

397 lines (289 loc) · 10.6 KB

Social Media Announcement Templates

Twitter/X Post

🎉 Just launched my first open source project!

Competitive Programming Test Case Generator v0.1.0 🚀

✨ Scrape problems from top platforms 📦 Generate organized test case bundles 🎨 Modern web UI with real-time tracking ⚡ One-click setup

Perfect for educators, competitive programmers & interview prep!

⭐ Star it: https://github.com/AVPthegreat/codebase-problem-scrapper

#OpenSource #Python #FastAPI #CompetitiveProgramming #WebDev #AVPTHEGREAT


LinkedIn Post

🚀 Excited to announce my first open source contribution to the developer community!

I've just released Competitive Programming Test Case Generator v0.1.0 - a FastAPI web application that makes creating coding practice bundles effortless.

Key Features: ✅ Multi-platform scraping (Codeforces, LeetCode, CodeChef, etc.) ✅ Real-time progress tracking with live logs ✅ Smart problem curation interface ✅ Instant ZIP downloads with organized test cases ✅ Full CI/CD pipeline with automated testing

Perfect for: 🎓 Educators creating programming assignments 💪 Competitive programmers practicing for contests 💼 Technical interview preparation 🧑‍💻 Anyone organizing coding challenges

Tech Stack:

  • FastAPI + Uvicorn
  • Python 3.11+
  • httpx & BeautifulSoup for scraping
  • Jinja2 templating
  • pytest for testing
  • GitHub Actions for CI/CD

This is part of my journey as AVPTHEGREAT - building open source tools and sharing knowledge with the community.

🔗 Check it out: https://github.com/AVPthegreat/codebase-problem-scrapper

Looking for contributors! If you're interested in:

  • Adding more platform scrapers
  • Improving UI/UX
  • AI integration for test generation
  • Or have other ideas!

Please star ⭐ the repo, open issues, or submit PRs!

#OpenSource #Python #FastAPI #WebDevelopment #CompetitiveProgramming #TechCommunity #SoftwareEngineering #AVPTHEGREAT


Reddit Post (r/Python, r/learnprogramming, r/competitiveprogramming)

Title: [Project] I built a web app that generates competitive programming test case bundles from multiple platforms

Body:

Hey everyone! 👋

I just released v0.1.0 of my Competitive Programming Test Case Generator and wanted to share it with the community!

What is it?

A FastAPI web application that scrapes coding problems from popular platforms (Codeforces, LeetCode, CodeChef, GeeksforGeeks, AtCoder) and generates organized bundles with test cases.

Why I built this

As someone who practices competitive programming, I found myself constantly:

  • Manually copying test cases from different platforms
  • Organizing them into folders
  • Creating .in and .out files
  • Switching between multiple websites

So I automated it all into one tool!

Key Features

  • Multi-platform scraping: One interface for all major CP platforms
  • Real-time tracking: See exactly what's happening with live logs and progress bars
  • Smart curation: Accept/reject problems before downloading
  • Instant bundles: Get a ZIP file with everything organized
  • Placeholder mode: Test the UI without hitting live servers
  • Background jobs: Queue multiple requests

Tech Stack

  • Backend: FastAPI + Uvicorn
  • Scraping: httpx + BeautifulSoup
  • Testing: pytest with full coverage
  • CI/CD: GitHub Actions (multi-OS testing)
  • Frontend: Vanilla JS with Jinja2 templates

How to use it

git clone https://github.com/AVPthegreat/codebase-problem-scrapper.git
cd codebase-problem-scrapper
python3 -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
python scripts/run_web.py

Then navigate to http://127.0.0.1:8000

Open Source

This is fully open source (MIT License) with:

  • Contributing guidelines
  • Code of Conduct
  • Security policy
  • Issue templates
  • Full CI/CD

Looking for Contributors!

If you'd like to help:

  • Add more platform scrapers
  • Improve scraping accuracy
  • Enhance UI/UX
  • Add AI-powered test generation
  • Mobile responsiveness
  • Or anything else you think would be cool!

Repo: https://github.com/AVPthegreat/codebase-problem-scrapper

Would love your feedback, stars ⭐, and contributions! This is part of my journey building open source tools under the AVPTHEGREAT brand.


YouTube Video Script Outline

Title: "I Built a Web App to Automate Competitive Programming Practice | FastAPI Project"

Hook (0:00-0:15)

  • "I got tired of manually copying test cases from coding platforms..."
  • "So I built this web app to do it automatically"
  • Quick demo of the tool in action

Problem Statement (0:15-1:00)

  • Show the manual process: visiting Codeforces, LeetCode, copying test cases
  • Explain the pain points
  • "There has to be a better way..."

The Solution (1:00-2:00)

  • Introduce the Competitive Programming Test Case Generator
  • Quick walkthrough of the UI
  • Show entering a prompt, selecting platforms
  • Real-time progress tracking
  • Problem curation interface
  • Download the bundle

Tech Stack Deep Dive (2:00-4:00)

  • FastAPI backend architecture
  • How the job queue works
  • Threading for background processing
  • Scraping with httpx and BeautifulSoup
  • Frontend with vanilla JS
  • Testing with pytest

Code Walkthrough (4:00-6:00)

  • Show key files: orchestrator.py, main.py
  • Explain the scraping logic
  • Show how placeholder mode works
  • Demonstrate the test suite

Demo (6:00-8:00)

  • End-to-end demo
  • Generate a real bundle from Codeforces
  • Show the downloaded ZIP structure
  • Demonstrate problem curation

Open Source & Community (8:00-9:00)

  • This is open source!
  • Show the GitHub repo
  • Contributing guidelines
  • Call for contributors
  • Part of AVPTHEGREAT brand

Call to Action (9:00-9:30)

  • Star the repo on GitHub
  • Try it yourself
  • Submit issues and PRs
  • Subscribe for more projects
  • Follow AVPTHEGREAT journey

Outro

  • Thanks for watching
  • Link in description
  • See you in the next one!

YouTube Description

🎯 Competitive Programming Test Case Generator v0.1.0

Tired of manually copying test cases from coding platforms? I built a FastAPI web app that automates the entire process!

⚡ FEATURES: ✅ Multi-platform scraping (Codeforces, LeetCode, CodeChef, GFG, AtCoder) ✅ Real-time progress tracking ✅ Problem curation interface ✅ Organized ZIP downloads ✅ Background job queue ✅ Full test coverage

🔗 GitHub: https://github.com/AVPthegreat/codebase-problem-scrapper

📚 TIMESTAMPS: 0:00 - The Problem 1:00 - The Solution 2:00 - Tech Stack 4:00 - Code Walkthrough 6:00 - Live Demo 8:00 - Open Source 9:00 - Try It Yourself

💻 TECH STACK:

  • FastAPI + Uvicorn
  • Python 3.11+
  • httpx & BeautifulSoup
  • pytest
  • GitHub Actions CI/CD

🤝 CONTRIBUTE: This is open source! Star ⭐ the repo, submit PRs, or open issues!

📱 FOLLOW AVPTHEGREAT:

#FastAPI #Python #WebDevelopment #CompetitiveProgramming #OpenSource #AVPTHEGREAT #CodingProjects #SoftwareEngineering


Instagram/TikTok Short Script (60 seconds)

[0-5s] "I automated my competitive programming practice"

[5-10s] Show screen: manually copying test cases from Codeforces - looks tedious

[10-15s] "So I built this web app" - Show the clean UI

[15-25s] Quick cuts:

  • Enter prompt: "Give me 5 sorting problems"
  • Select platforms
  • Real-time progress bar filling
  • Problems appearing

[25-35s] Show problem curation screen with accept/reject buttons

[35-45s] Click download - show ZIP file appearing

[45-55s] "Full open source" - Flash GitHub repo, stars count

[55-60s] "Link in bio! Built by @AVPTHEGREAT"

Text overlays throughout:

  • "100% Free & Open Source"
  • "FastAPI + Python"
  • "Multi-platform support"
  • "Real-time tracking"
  • "⭐ Star on GitHub"

Dev.to / Hashnode Blog Post Outline

Title: "Building a Multi-Platform Competitive Programming Test Case Generator with FastAPI"

Sections:

  1. Introduction

    • The problem I faced as a competitive programmer
    • Why existing solutions weren't enough
    • What I decided to build
  2. Architecture Overview

    • FastAPI backend architecture
    • Job queue system
    • Threading for concurrent processing
    • Frontend with Jinja2 templates
  3. The Scraping Challenge

    • Different platforms, different structures
    • Base scraper interface
    • Platform-specific implementations
    • Handling rate limits and errors
  4. Real-time Updates

    • Implementing the job queue
    • Supervisor thread pattern
    • Live log streaming to frontend
    • Progress tracking
  5. Problem Curation & Downloads

    • Client-side filtering
    • Creating filtered ZIPs on-the-fly
    • File organization strategy
  6. Testing & CI/CD

    • pytest test suite
    • Multi-OS testing with GitHub Actions
    • Code coverage
    • Ruff for linting
  7. Open Source Journey

    • Why I made it open source
    • Setting up community files
    • Welcoming contributors
    • Building the AVPTHEGREAT brand
  8. Lessons Learned

    • Threading challenges
    • Scraping best practices
    • FastAPI tips
    • Open source management
  9. Future Plans

    • AI-powered test generation
    • More platforms
    • Mobile app
    • Cloud deployment
  10. Conclusion

    • Try it yourself
    • Contribute
    • Follow the journey

Code snippets throughout:

  • Scraper base class
  • Job queue implementation
  • Real-time log streaming
  • Test examples

Hacker News Post

Title: Show HN: Competitive Programming Test Case Generator – Multi-platform scraper with FastAPI

Body:

Hi HN!

I built a web app that scrapes coding problems from competitive programming platforms (Codeforces, LeetCode, CodeChef, etc.) and generates organized bundles with test cases.

GitHub: https://github.com/AVPthegreat/codebase-problem-scrapper

Why I built this:

As someone who practices competitive programming, I was constantly:

  • Copying test cases from multiple platforms manually
  • Creating folder structures for each problem
  • Making .in and .out files individually
  • Switching between tabs

What it does:

  • Enter a prompt like "Give me 5 hard graph problems"
  • Select platforms and difficulty
  • Watch real-time scraping with live logs
  • Review and curate the results
  • Download a ZIP with everything organized

Tech:

  • FastAPI backend with background job queue
  • httpx + BeautifulSoup for scraping
  • Vanilla JS frontend with real-time updates
  • Threading for concurrent processing
  • Full test coverage with pytest
  • GitHub Actions CI/CD

Open Source:

MIT license, looking for contributors! Especially interested in:

  • More platform scrapers
  • Improving scraping accuracy
  • UI enhancements
  • AI integration ideas

Would love feedback from the HN community!