Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Code-to-GitHub – Save Code to GitHub with One Click

Code-to-GitHub is a browser extension that lets you instantly save your solved coding problems (from platforms like LeetCode, CodeChef, HackerRank, and more) directly to your GitHub repository — complete with your custom comments explaining the approach you used to solve the problem.

No more copy-pasting code manually — just one click, and your solution is pushed to GitHub automatically! 🎉


✨ Features

  • One-Click Code Save – Push your solutions to GitHub instantly.
  • Platform Independent – Works with LeetCode, CodeChef, HackerRank, Codeforces, and others.
  • Custom Comments – Add problem statements, thought processes, or solution explanations.
  • Organized Repository – Automatically categorizes solutions by platform and topic.
  • Boost Productivity – Spend less time managing files, more time solving problems.

🛠️ Tech Stack

Category Tech Used
Frontend HTML, CSS, JavaScript
Backend / API GitHub REST API
Extension Chrome Extension APIs

📦 Installation & Setup

1. Clone this Repository

git clone https://github.com/Narendray12/Code-to-github.git
cd Code-to-github

2. Load the Extension in Chrome

  1. Open Google Chrome and go to:
    chrome://extensions/
  2. Enable Developer Mode (top-right toggle).
  3. Click Load unpacked.
  4. Select the project folder (Code-to-github).

The extension will now appear in your browser!


⚙️ Configure GitHub Access

  1. Generate a GitHub Personal Access Token:
  2. Save the token inside the extension’s settings.

🚀 Usage

  1. Open LeetCode, CodeChef, or any supported coding platform.
  2. Solve a problem as usual.
  3. Click the Code-to-GitHub extension icon.
  4. Add:
    • Problem title
    • Your approach/comments
  5. Hit Save – done! 🎉
    Your solution is now pushed to your GitHub repository automatically.

About

Code-to-GitHub is a Chrome extension to save coding problem solutions (LeetCode, CodeChef, etc.) directly to your GitHub repository with custom comments explaining your approach — all with just one click!

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages