Skip to main content

Forkwork

image image image

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/github-tooling/forkwork

from source

$ git clone https://github.com/github-tooling/forkwork
$ 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/mattdiamond/Recorderjs 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
  -D, --updated_at      Sort by updated at
  -P, --pushed_at       Sort by pushed at
  -W, --watchers_count  Sort by watchers count (Slow because requires an
                        additional request per fork)
  -C, --commits         Sort by number of commits (Slow because requires an
                        additional requests per fork)
  -B, --branches        Sort by number of branches (Slow because requires an
                        additional request per fork)
  --help                Show this message and exit.

Example usage

find top repo

$ forkwork https://github.com/mattdiamond/Recorderjs top -S --n=5
+-----------------------------------------------+---------+---------+---------------+---------------+--------------+
| URL                                           |   Stars |   Forks |   Open Issues | Last update   | Pushed At    |
+===============================================+=========+=========+===============+===============+==============+
| https://github.com/chris-rudmin/opus-recorder |     599 |     110 |             6 | 5 days ago    | 3 months ago |
+-----------------------------------------------+---------+---------+---------------+---------------+--------------+
| https://github.com/remusnegrota/Recorderjs    |      45 |      15 |             0 | 3 months ago  | 5 years ago  |
+-----------------------------------------------+---------+---------+---------------+---------------+--------------+
| https://github.com/rokgregoric/html5record    |      41 |       7 |             0 | 9 months ago  | 7 years ago  |
+-----------------------------------------------+---------+---------+---------------+---------------+--------------+
| https://github.com/mayppong/Recorderjs        |      11 |       2 |             0 | 1 year ago    | 5 years ago  |
+-----------------------------------------------+---------+---------+---------------+---------------+--------------+
| https://github.com/jergason/Recorderjs        |      11 |      12 |             3 | 3 months ago  | 2 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

Using Poetry

$ poetry install

or Pipenv

$ pipenv install --dev -e .

License

MIT

Metadata

Release files for forkwork 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for forkwork 0.0.5
File Size Uploaded
forkwork-0.0.5.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for forkwork 0.0.5
File Interpreter ABI Platform
forkwork-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / forkwork-0.0.5.tar.gz

Download URL forkwork-0.0.5.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ce366b7d7a6ba218cae0d96ecf4a85cee088d5e46f4c345220732990c556aa58
BLAKE2b-256 checksum
How to use checksums
419215841dc9c5e12e8ac0ee2171c7f4eb0b56d85ba4487f68f0999f896efe04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.0 Linux/4.15.0-20-generic

Release files / forkwork-0.0.5-py3-none-any.whl

Download URL forkwork-0.0.5-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b6052a368da0c60236092c225000efe28164e1e783874f436a5807467a4330e
BLAKE2b-256 checksum
How to use checksums
f527c1e12e18ac3e2d3f640d9480890a6261910a8583f68e1326231e2cf52043
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.0 Linux/4.15.0-20-generic

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page