https://github.com/b-coimbra/stats
Utility for creating dynamic pinnable gists
https://github.com/b-coimbra/stats
gist pinned-gist python
Last synced: about 2 months ago
JSON representation
Utility for creating dynamic pinnable gists
- Host: GitHub
- URL: https://github.com/b-coimbra/stats
- Owner: b-coimbra
- License: gpl-3.0
- Created: 2020-04-01T22:53:25.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-06T21:48:43.000Z (almost 5 years ago)
- Last Synced: 2025-02-02T00:44:19.649Z (4 months ago)
- Topics: gist, pinned-gist, python
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* Stats
Utility to update pinned gists with any +irrelevant+ data.
** Setup
1. Download or clone this repository in a directory of your choice.
2. Inside the project folder, create a =config.json= file with the following contents:#+begin_src json
{
"user": "",
"hash": "",
"token": ""
}
#+end_src3. Create a [[https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line][new personal access token]] with the =gist= scope. Copy the generated token and paste it in the /token/ key in the =config.json=.
4. Create a [[https://gist.github.com/][new gist]] (the filename doesn't matter).
5. Copy the hash from the newly created gist's URL: (gist.github.com// **) and paste it in the /hash/ key in the =config.json=.
6. Run =sh run.sh= and check if the gist was updated.
7. Pin the gist on your profile!