https://github.com/lbonanomi/grist
Simple python script for indexing and de-duplicating a user's GitHub gists
https://github.com/lbonanomi/grist
gist python-requests python-script taxonomy
Last synced: 9 months ago
JSON representation
Simple python script for indexing and de-duplicating a user's GitHub gists
- Host: GitHub
- URL: https://github.com/lbonanomi/grist
- Owner: lbonanomi
- License: mit
- Created: 2018-06-20T13:57:05.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2024-11-21T01:36:52.000Z (over 1 year ago)
- Last Synced: 2024-11-21T02:25:12.495Z (over 1 year ago)
- Topics: gist, python-requests, python-script, taxonomy
- Language: Python
- Homepage:
- Size: 115 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gRist
> Without libraries what have we? We have no past and no future.
> –Ray Bradbury
## What's this?
gRist is a simple python script for indexing a user's GitHub gists.
gRist:
* Generates a single gist with an index of all other gists by description (or gist name if the description field is empty).
* Attempts to categorize gists based on hashtags found in the 0th-comment.
* Attempts to flag duplicated gists (cosine similarity of content > 80%).
## What's the point? GitHub already offers a list of all your gists and there are clients for phones.
GitHub absolutely offers a list of gists in their web interface, but the author finds the 30-gists-per-page limit frustrating in the face of his 500+ gist collection and no mobile client offers a table of contents.
The author is a compulsive note taker who is beaing weaned off-of Google Keep.
## Got a screenshot?

## How would I run this?
Create a gist named index.md
Consider adding a star so it isn't easily misplaced
Populate your $HOME/.netrc file
## Known issues
The author's workflow is one-file-per gist, YMMV if you include multiple files in a single gist.
## Hat-Tip
vpekar from https://stackoverflow.com/questions/15173225