2022-11-05 07:14:41 +00:00
## What is this?
This is @bcrypt 's janky twitter replacement.
## History
[Original tweet ](https://twitter.com/bcrypt/status/1588416861552582657 ):
```
RT @bcrypt:
just made a “decentralized” “alternative” to twitter; everyone should go “join” it
to make an account: fork https://github.com/diracdeltas/tweets
to tweet: git commit --allow-empty
to follow someone: git remote add < alias > < their fork url >
to retweet: git cherry-pick < their “ tweet ” >
```
## Setup
* fork https://github.com/diracdeltas/tweets
* in your fork:
```
git reset --hard d10b092
git push -f origin main
```
## Stuff you can do
* to post:
```
git commit -m "your post" --allow-empty
git push
```
* to follow someone:
```
git remote add < git name > < their fork of diracdelta ' s repo >
git fetch < git name >
```
2022-11-05 21:57:18 +00:00
* to follow everybody using GitHub:
2022-11-05 07:14:41 +00:00
`./follow-everybody.bash`
* to repeat someone else's utterance:
```
git cherry-pick < their commit hash >
```
* [people to follow ](https://github.com/diracdeltas/tweets/network/members )
* to refresh your timeline and view it:
```
git fetch --all & & git rev-list --all --remotes --pretty | less
```
2022-11-05 21:57:18 +00:00
* some alternative ways to view your timeline (use `git show <commit hash>` to
show the full "tweet"):
2022-11-05 07:14:41 +00:00
```
2022-11-05 21:57:18 +00:00
git log --format="format:%Cred%cd %Cblue%h %Cgreen%cn%Creset: %s" --all --date=iso-local
2022-11-05 07:14:41 +00:00
git log --graph --all --decorate --oneline
```
2022-11-05 21:57:18 +00:00
* to get verified (GitHub-only):
2022-11-05 07:14:41 +00:00
1. [follow github's own verification instructions and make your commit email match your GPG key email ](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification )
2. `git commit -S -m "your post" --allow-empty` from now on
2022-11-05 21:57:18 +00:00
* to encrypt a message:
see `encrypt using the public key of a github user` in https://sshenc.sh/ or
use your favorite key distribution mechanism to get their public key.