Skip to main content

Find maintained forks of your favorite repositories

Project description

Forkwork

This might help to find maintained alternatives of an abandoned repo.

Inspired by forked

Requirements

  • Python 3.5 and up

Installation

from PyPI

$ pip install forkwork

from git repository

$ pip install git+https://github.com/andriyor/forkwork.git

from source

$ git clone https://github.com/andriyor/forkwork.git
$ cd forkwork
$ python setup.py install

Usage

To prevent rale limit being exceeded for unauthentIcated requests, forkwork needs an access token. For public repositories, create a token with the public_repo permission.

You can use token as environment variable FORKWORK_TOKEN at ~/.bashrc or ~/.zshrc

export FORKWORK_TOKEN="****************************************"

or pass token as option --token

$ forkwork --help
Usage: forkwork [OPTIONS] URL COMMAND [ARGS]...

Options:
  --token TEXT
  --help        Show this message and exit.

Commands:
  fnm
  top

top command option

$ forkwork https://github.com/voronind/vk top --help                
Usage: forkwork top [OPTIONS]

Options:
  --n INTEGER           Numbers of rows
  -S, --star            Sort by stargazers count
  -F, --forks           Sort by forks count
  -I, --open_issues     Sort by open issues count
  -W, --watchers_count  Sort by watchers count
  -D, --updated_at      Sort by updated at
  -P, --pushed_at       Sort by pushed at
  -C, --commits         Sort by number of commits
  -B, --branches        Sort by number of branches
  --help                Show this message and exit.

Example usage

find top repo

➜ poetry run forkwork https://github.com/mattdiamond/Recorderjs top -F --n=5
+-----------------------------------------------+---------+---------+---------------+------------+-------------------+--------------+
| URL                                           |   Stars |   Forks |   Open Issues |   Watchers | Last update       | Pushed At    |
+===============================================+=========+=========+===============+============+===================+==============+
| https://github.com/chris-rudmin/opus-recorder |     594 |     107 |             6 |        594 | a few seconds ago | 2 months ago |
+-----------------------------------------------+---------+---------+---------------+------------+-------------------+--------------+
| https://github.com/remusnegrota/Recorderjs    |      45 |      15 |             0 |         45 | 2 months ago      | 5 years ago  |
+-----------------------------------------------+---------+---------+---------------+------------+-------------------+--------------+
| https://github.com/jergason/Recorderjs        |      11 |      12 |             3 |         11 | 2 months ago      | 2 years ago  |
+-----------------------------------------------+---------+---------+---------------+------------+-------------------+--------------+
| https://github.com/rokgregoric/html5record    |      41 |       7 |             0 |         41 | 8 months ago      | 7 years ago  |
+-----------------------------------------------+---------+---------+---------------+------------+-------------------+--------------+
| https://github.com/somnumDotIo/Recorderjs     |       0 |       2 |             0 |          0 | 3 years ago       | 3 years ago  |
+-----------------------------------------------+---------+---------+---------------+------------+-------------------+--------------+

find commit that don't merged and not pushed to a pull request

$ forkwork https://github.com/dimka665/vk fnm

 Detrous https://github.com/Detrous/vk
1 add: proxy https://github.com/Detrous/vk/commit/87718dab306484716470fb5b1e13d7b676b1bd7b

 andriyor https://github.com/andriyor/vk
1 add support proxies
default  API version https://github.com/andriyor/vk/commit/8523ed081ea8370d7a9b6664bd8d0882ec512480
$ forkwork https://github.com/MongoEngine/eve-mongoengine fnm

 Aldream https://github.com/Aldream/eve-mongoengine
1 <attempt> Update requirements https://github.com/Aldream/eve-mongoengine/commit/3f2617b2cf978adab9296d6be9d293243d05c76e

 wdtbrno https://github.com/wdtbrno/eve-mongoengine
1 Remove autocreating where based on headers If-Modified-Since

Python-eve since 0.5 disabled If-Modified-Since on resource endpoints
Same functionality is available with
a ?where={"_udpated": {"$gt": "<RFC1123 date>"}} request. https://github.com/wdtbrno/eve-mongoengine/commit/9cb2ac3abbc210f37daff98bf5c6a3e638aeeb84

Development setup

Install Pipenv

$ pipenv install --dev -e .

or Poetry

$ poetry install

run tests

$ poetry run pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forkwork-0.0.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

forkwork-0.0.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file forkwork-0.0.2.tar.gz.

File metadata

  • Download URL: forkwork-0.0.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.6.0 Linux/4.15.0-20-generic

File hashes

Hashes for forkwork-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5139174854fa8b7ab570d73bc8e79cc9bb39e32841a89a30e00f69884bf10f6e
MD5 a8b9ad68b1d3d20fb81d1a6b75ade520
BLAKE2b-256 e3dac1fb900e1f137fd273a7949d60bbf819e5cc443db14d2bdf923302723922

See more details on using hashes here.

File details

Details for the file forkwork-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: forkwork-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.6.0 Linux/4.15.0-20-generic

File hashes

Hashes for forkwork-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4a4c0e62aabfbbbff34d233383f6c0efcb26505a5f4975177f242e0820577671
MD5 e121c8f3f6949701f6639b76ebbf5c34
BLAKE2b-256 c52eb0e2f8ee47f8fb69dbe17a61f01b43b565e5f44ca77dd6283d44e2dbae99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page