Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 17 days 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 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-17T08:42:22.000Z (over 4 years ago)
- Last Synced: 2023-03-06T23:50:40.469Z (almost 2 years 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.