Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/purarue/greasyfork_repo_generator
Archives a users Greasyfork account and creates a Github repo
https://github.com/purarue/greasyfork_repo_generator
greasyfork repository userscript
Last synced: about 2 months ago
JSON representation
Archives a users Greasyfork account and creates a Github repo
- Host: GitHub
- URL: https://github.com/purarue/greasyfork_repo_generator
- Owner: purarue
- License: mit
- Created: 2020-02-24T23:34:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-25T16:28:06.000Z (3 months ago)
- Last Synced: 2024-11-01T14:43:47.556Z (3 months ago)
- Topics: greasyfork, repository, userscript
- Language: Elixir
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Greasyfork Repo Generator
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
Archives a users Greasyfork account and creates a git repo which contains each script/metadata as the `README`. See [here](https://github.com/purarue/greasyfork) for example output.
```
Archives a users Greasyfork account and creates a Github repo 0.1.0
purarue github.com/purarueUSAGE:
greasyfork_repo_generator --json INPUT_JSON_FILE [--ignore-ids IGNORE_SCRIPT_IDS] [--output-dir OUTPUT_DIR]
greasyfork_repo_generator --version
greasyfork_repo_generator --helpOPTIONS:
-j, --json Output JSON file from greasyfork_archive
-i, --ignore-ids A comma separated list of script IDs to ignore (default:[])
-o, --output-dir The directory to output the generated repo to
```## Installation & Run
Requires: `elixir`, `python3`
```
pip3 install --user greasyfork_archive
git clone https://github.com/purarue/greasyfork_repo_generator
cd greasyfork_repo_generator
greasyfork_archive --output-file scraped_data.json
mix deps.get
mix escript.build
# the built escript binary can be copied onto your path, if you so desire
./greasyfork_repo_generator --json scraped_data.json --ignore-ids "37826,368355"
```