https://github.com/o-200/codewars-exporter
Export your solutions to local file
https://github.com/o-200/codewars-exporter
codewars codewars-kata codewars-kata-solution codewars-solutions parser parsing ruby ruby-app selenium selenium-webdriver watir watir-webdriver
Last synced: about 1 month ago
JSON representation
Export your solutions to local file
- Host: GitHub
- URL: https://github.com/o-200/codewars-exporter
- Owner: o-200
- License: mit
- Created: 2023-08-24T10:18:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-08T08:38:34.000Z (9 months ago)
- Last Synced: 2025-04-05T19:51:12.088Z (2 months ago)
- Topics: codewars, codewars-kata, codewars-kata-solution, codewars-solutions, parser, parsing, ruby, ruby-app, selenium, selenium-webdriver, watir, watir-webdriver
- Language: Ruby
- Homepage:
- Size: 116 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# codewars-exporter
[](https://github.com/rubocop/rubocop)
codewars-exporter is a prototype application which parse solutions from [codewars.com](https://www.codewars.com/dashboard) to local file. You can optionally choose languages and save methods.
# api
https://dev.codewars.com/
# Functionality
1. Check main info about profile
2. Parse all solutions to one file
3. Save solution per file
4. Choosing language which to be parsed# Requirements
## Using docker
1. Docker## Local install
1. geckodriver (https://github.com/mozilla/geckodriver)
2. firefox-esr (https://www.mozilla.org/en-US/firefox/enterprise/)# Usage
## Using Docker:
#### 1. Install Project
#### 2. Build Image
`docker build -t codewars-exporter .`
#### 3. Start Image bash
`docker run -it -v $(pwd)/result:/codewars-exporter/result codewars-exporter /bin/sh`
#### 4. Use Our functionality## Locall installation:
#### 1. Install Project
#### 2. Install require dependencies above
##### 2.1 For geckodriver you should unpack acrhive and rename unpacked file to ```geckodriver```
#### 3. ```bundle install```
#### 4. Use Our functionality# Functionality:
If you're rubyist check bin/* for any configs, if isnt:- print info from codewars api - `bin/api `
- parse solutions - `bin/parser `### Choice methods - must be integer
1. Save every solution to every file
2. Save all solutions to one text file#### Example of requests:
1. bin/api [email protected] mypassword
2. bin/parser [email protected] mypassword 1 ruby# Contribution
1. Select issue and write comment like: "I want to take the issue"
2. Wait my answer
3. Fork the repository, create branch with issue name
4. When task is complete - create pull request and tell me about status of taskIf you needed for feature - create issue and let's discuss!