Skip to content

This repository contains source codes for some of the problems I solved on codeforces and atcoder.

License

Notifications You must be signed in to change notification settings

MishkatIT/codeforces-atcoder-submissions

Repository files navigation

Competitive Programming Archive

Codeforces AtCoder GitHub Actions

**Automatically archive your competitive programming submissions from Codeforces & AtCoder**

NEW! For all your harvesting needs, use the magical harwest_control_panel.bat (the one batch to rule them all)! It's so powerful, even your submissions are afraid to be left behind. Run it, and let the automation wizardry begin!

v2.0 System upgraded with enhanced automation and improved user experience!


🚀 Quick Start

Want this for your own profile?
📖 Complete User Guide - Setup in 5 minutes!

Fork this repository, then run:

python fresh_start.py

That's it! Your submissions will be automatically harvested daily via GitHub Actions.


📊 My Submissions

🎯 Platforms

Platform Profile Solutions Submissions
Codeforces MishkatIT Codeforces 📝 View All
AtCoder MishkatIT AtCoder 📝 View All

📁 Repository Structure

Click to expand repository structure
📦 codeforces-atcoder-submissions/
├── 📄 codeforces.md              # Codeforces submissions table
├── 📄 atcoder.md                 # AtCoder submissions table
├── 📂 submissions/
│   ├── 📂 codeforces/
│   │   └── 📂 [contest_id]/
│   │       └── 📄 [problem_code].[ext]
│   ├── 📂 atcoder/
│   │   └── 📂 [contest_id]/
│   │       └── 📄 [problem_code].[ext]
│   └── 📄 submissions.json       # Metadata database
├── 📂 config/
│   └── 📄 users.json             # Username configuration
└── 📄 fresh_start.py             # Setup script

⚙️ How It Works

Click to expand how it works

🤖 Automated Daily Harvesting

GitHub Actions runs every day at 11:00 PM BDT (5:00 PM UTC):

  • Smart Scanning: Checks last 30 days for new submissions (fast & efficient)
  • Full History: First run fetches all submissions with --full-scan
  • Auto Updates: Tags and ratings update automatically when changed
  • Fallback Links: Creates platform links when code fetch fails
  • Smart Scheduling: Monthly check if repository inactive >30 days

🔧 Features

  • Zero Maintenance: Fully automated via GitHub Actions
  • Multi-Platform: Supports Codeforces and AtCoder
  • Multi-Account: Track multiple usernames per platform
  • Smart Updates: Only checks recent submissions (configurable)
  • Metadata Updates: Auto-detects rating/tag changes
  • Profile Contributions: Shows as GitHub activity (with proper git config)
  • Private Support: Works with private repositories

📖 Documentation


🔥 Manual Trigger

Want to run immediately or do a full scan?

  1. Go to Actions tab
  2. Click "Harwest Submissions""Run workflow"
  3. Select options:
    • Full scan - Fetch complete history
    • Check recent - Last 30 days only (default)
  4. Click "Run workflow"

💡 About This Repository

This repository uses Harwest to automatically fetch and archive competitive programming submissions. All submissions are stored with proper timestamps, organized by contest, and presented in clean markdown tables.

Benefits:

  • 📈 Track your competitive programming journey
  • 🌐 Showcase your solutions publicly
  • 📊 Build a comprehensive coding portfolio
  • 🎯 Never lose your solutions
  • 🔍 Easy search and navigation

🆘 Need Help?


Last automated harvest: Check Actions for latest run

Built with ❤️ by Md Mishkatul Islam using Harwest


Version: v2.1.1