user3871
user3871

Reputation: 12718

Activity tab for GitHub

GitLab has an Activity tab where I can see all activity for all branches for a given project.

I working on a personal project where I have a couple team mates. I'd like to see all activity for the project in a similar way on GitHub. Is this possible?

I found this: View entire activities of an user in github

But the GitHub events link provided (here) is broken. They also suggest subscribing to a public RSS feed. But I was looking for an integrated option to view all activity.

Upvotes: 0

Views: 404

Answers (1)

Ionică Bizău
Ionică Bizău

Reputation: 113455

If you're part of an organization, you can see the activity in the dashboard:

https://github.com/orgs/<your-organization>/dashboard

If you just have a repository with collaborators, you can Watch the repository (you are most probably already watching it) and you will get the notifications in your dashboard:

https://github.com/

To get repository level activity only, you can use the API. The GitHub API Events may help you.

For example, to get git-stats's activity, you have to access this url:

https://api.github.com/repos/IonicaBizau/git-stats/events

Using gh.js you can get the responses in your Node.js / JavaScript application:

var GitHub = require("gh.js");

var gh = new GitHub({
    token: "an optional token"
});

gh.get("repos/IonicaBizau/git-stats", function (err, events) {
    console.log(err || events);
});

Upvotes: 1

Related Questions