Gitstorykit
Build rich git projects history discovery apps with ease, used by Gitstory
Install / Use
/learn @swve/GitstorykitREADME
GitStoryKit is a little development kit that can be used to develop apps and software that enables git time travel, the library is in early development and is designed for simplicity, it is heavily used in GitStory
The following Git clients are supported :
- GitHub ✅
- GitLab ⏳ (on development)
Usage
Initialization
import GitStory from "gitstorykit";
const gitstory = new GitStory("Github");
gitstory.init({ owner: "swve", repo: "framestack" });
// with auth tokens
gitstory.init({ owner: "swve", repo: "framestack" , auth: "yourtoken" });
Get first commit
const firstcommit = await gitstory.getFirstCommit();
Get first commit Date
const firstcommitdate = await gitstory.getFirstCommitDate();
Get a commit's Date
Dates should be in the ISO 8601 format
const commit_date = await gitstory.getCommitDate(commit_sha);
Get commit between dates
Dates should be in the ISO 8601 format
const commit = await gitstory.getCommitsBetweenDates(startDate, endDate, per_page: number, page: number);
Get commits until date
Dates should be in the ISO 8601 format
const commit = await gitstory.getCommitsUntilDate(date, per_page: number, page: number);
Get a repository active years
const active_years = await gitstory.yearsActive();
Contributing
To contribute or understand the code structure, please see our contributing.md.
Authors
Badr B. (@swve)
Related Skills
apple-reminders
344.1kManage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
gh-issues
344.1kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
healthcheck
344.1kHost security hardening and risk-tolerance configuration for OpenClaw deployments
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
