I spent a weekend making a self-host twitter alternative.
source: https://github.com/est/gitweets/
demo: https://f.est.im/ (renders via github API)
Basically it renders its self git repo commit history as a feed timeline.
Never lose your data on microblogging service providers again! Clone the repo anywhere anytime, make tweets by "git commit --allow-empty".
Everything is placed inside a single-html.
I like the idea very much. The prototype looks good, so simple yet it has a lot of potential leveraging Git.
To login, it asks for read/write permission on all my public repositories. I guess that's necessary to make tweets as commits from the web interface?It's a hard ask from a user wanting to join. Maybe better if it could be limited to a single repo.
> Authorize gitweets to access your GitHub account
> This application will be able to read and write all public repository data. This includes the following:
> I guess that's necessary to make tweets as commits from the web interface?
Yes! Just make your "gitweet" locally and git push. The login button is for lazy person like me to make git commits in the browser via the Github REST API. Sadly the written permission for OAuth apps is either none or all repos.
To use single-repo access, there are three choices
- github app
- deploy key
- fine grained PAT
I think they are too much hassle for non-tech user. The OAuth process is the most simple and smooth one. I hope github could provide repo-selection for OAuth, or allow specify which repo to connect with Github App.
I plan to add deploy-key based auth later. This could be also used for non-github services.