/Apiary

C# App to help follow users on GitHub. Showcase FileTable and what AppSmith can do.

Primary LanguageC#MIT LicenseMIT

Apiary

Note Version 2 of project is in the srcV2 folder. it's the latest. Kept v1 around as reference. Main difference in V2 is that the Rate limit now pulls from a schedule and a scheduler to populate and everything runs in background tasks so that the countdown is effected least. It still pauses a bit when adding followings when there are many... work in progress... V2 is a major rewrite. Using FeedTech techniques.

C# Windows Form App to help follow users on GitHub. Showcase FileTable and what AppSmith can do.

You need to set up Access Token:
In GitHub under
profile/settings/developer settings
Personal Access Tokens / Fine-grained tokens:
You need to add one, the name is the Access Token Name. The secret is the value. The following Access must be graned to key:

  • Followers, Starring, Watching should be set to read write.
  • Interaction limist I set to readonly.

Record the key in a password manager, it won't be shown again.

Run Visual Studio, clone a branch and run. App should look like next picture.

Configure Image Use the Access Token Name and Token value to populate the two text boxes to setup authentication to GitHub Api.

Then click the Explor tab to get to next page.

Configure Image

Top left to right, Countdown when timer is enabled. Checkbox to enable the timer, Rate limits to track current rate limit status.

When starting out the file to hold the users to follow is empty. you will need to manually add user in Follows Textbox to get started.

When Follows runs it follows the users and downloads all the users the user follows and adds to the list to follow.

When user is donloaded a second time then the FollowCount in incremented.

When Set Next runs it grabs the top 5 to follow ordered by followcount descending.

So as 5 users are added the counts change to only follow the top 5 most followed at a time.

Enjoy Matt.