Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jomei/leetcode2github
A chrome extension which helps to keep your LeetCode solutions
https://github.com/jomei/leetcode2github
chrome-extension leetcode oktokit reactjs typescript
Last synced: 2 months ago
JSON representation
A chrome extension which helps to keep your LeetCode solutions
- Host: GitHub
- URL: https://github.com/jomei/leetcode2github
- Owner: jomei
- Created: 2020-05-28T11:55:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T22:49:44.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T04:02:00.244Z (almost 2 years ago)
- Topics: chrome-extension, leetcode, oktokit, reactjs, typescript
- Language: TypeScript
- Homepage: https://www.jomeisama.com/l2g
- Size: 634 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LeetCode2GitHub
![Logo](dist/logo.png?raw=true "Logo")A simple chrome extension which helps to keep your LeetCode solutions.
## Installation
Just add it to your browser from the [webstore][store]## Usage
1. Add this extension to your browser
2. Sign in with GitHub
3. Use this extension after LeetCode problem acceptance(this will happen automatically soon)## Changelog:
**Version 0.2.0**:
- Added solution form validation
- Added remembering last selected repo and set it as default
- Added loader while the app is initializing
- Added solution file name and commit message generation based on the problem title and selected programming language**Version 0.1.0**:
- OAuth through GitHub.com
- Simple form for solution submit## Contribution
This extension is built using:
* TypeScript
* React
* Octokit/rest### Building
1. Clone this repo
2. `npm i`
3. `cp src/config.json.example src/config.json`
4. Generate [personal token][token] and set it to `config.json` to `userToken` field
5. `npm run dev` to compile once or `npm run watch` to run the dev task in watch mode
6. `npm run build` to build a production (minified) version
7. Visit `chrome://extensions` and load unpacked `dist` directory[token]: https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
[store]: https://chrome.google.com/webstore/detail/kbamlgbbijaedbjioeeihphciepmlako