https://github.com/sidvishnoi/latest-commit
Track changes at specific GitHub URLs, without the need to visit them at GitHub every time.
https://github.com/sidvishnoi/latest-commit
github-api latest-version vanilla-javascript web-components
Last synced: 4 months ago
JSON representation
Track changes at specific GitHub URLs, without the need to visit them at GitHub every time.
- Host: GitHub
- URL: https://github.com/sidvishnoi/latest-commit
- Owner: sidvishnoi
- Created: 2019-04-25T19:11:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-17T08:42:22.000Z (over 5 years ago)
- Last Synced: 2025-04-04T00:41:20.885Z (10 months ago)
- Topics: github-api, latest-version, vanilla-javascript, web-components
- Language: JavaScript
- Homepage: https://latestcommit.netlify.com/
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Latest Commit
Track changes at specific GitHub URLs, without the need to visit them at GitHub every time. Data is saved locally in your browser.
Demo: https://latestcommit.netlify.com
Uses GitHub v3/v4 APIs. Vanilla JS (+ web components) + CSS + HTML (input validation FTW!). [jakearchibald/idb-keyval](https://github.com/jakearchibald/idb-keyval) for a light wrapper on IndexedDB.
[hustcc/timeago.js](https://github.com/hustcc/timeago.js) for displaying relative times.
## Options:
- Add `?update` URL parameter to update data for all links.
- Add `?auto=TIME` URL parameter to auto-update data every `TIME` seconds.
- Click "Link to this item" button on any item, then share the URL.