adding readme and follow bash script by @datn

squashed commit of the following:

commit c7ef9397d9836a5921090159647fa107a4e51aaa
Author: datn <git@eleven.org>
Date:   Sat Nov 5 05:07:17 2022 +0100

    added @bcrypt's refresh invocation

commit c6b87b122504b376dade18f394aedf8875cac866
Author: datn <git@eleven.org>
Date:   Sat Nov 5 05:05:19 2022 +0100

    did not update my cut

commit cb6bb0df99e609ccec60379e8c30fe2338aedeef
Author: datn <git@eleven.org>
Date:   Sat Nov 5 05:03:09 2022 +0100

    updating with reference to questionable script

commit e5af8a8cb5f0c542ffb18b6c8e7acdd455c3faf6
Author: datn <git@eleven.org>
Date:   Sat Nov 5 04:59:44 2022 +0100

    i'm sorry about this script that follows all forks

commit 3b237646b930a6d5d36db4dd8866fc108f04d7be
Author: Erich Spaker <erichspaker@gmail.com>
Date:   Fri Nov 4 18:45:25 2022 -0400

    I like how there is no way to tell if anyone follows you.
    Shouting into the void.
    We have already achieved feature parity!

commit 0a3f60949f86cbb07e4043d9bfaa6a85463b35af
Author: datn <git@eleven.org>
Date:   Sat Nov 5 04:39:28 2022 +0100

    updated README to include verification instrucciones

commit e4777cce793d1833fd0810c76d1f1f4bf278f6a3
Author: datn <git@eleven.org>
Date:   Sat Nov 5 04:37:28 2022 +0100

    https://bit.ly/specialhappyverificationinstrux haha

commit 694d47bb7d15da07e6512d8b5e59b78fbf3509a3
Author: datn <git@eleven.org>
Date:   Sat Nov 5 04:33:16 2022 +0100

    okay NOW i'm verified

commit 07fccc1e67401b4f809c7f6f1f28d0f6369a8e3f
Author: datn <git@eleven.org>
Date:   Sat Nov 5 04:29:23 2022 +0100

    i think i'm verified now

commit b2899ac8e8c694bcb6840909613c6efa9b2b0587
Author: datn <git@eleven.org>
Date:   Sat Nov 5 04:16:59 2022 +0100

    thanks @diracdeltas for the git log tip! added to README

commit 5922748dffc10a3a0d25bd6f5c191d00c960ea44
Author: Dan Shick <dan.shick@wikimedia.de>
Date:   Fri Nov 4 14:54:28 2022 +0100

    twitter has become nothing but a stream of deep sadness and regret

commit 2dd94fd15634093519a111b5562edc8dfdfa2d91
Author: datn <git@eleven.org>
Date:   Fri Nov 4 09:09:52 2022 +0100

    i added a quick and dirty README with basic instructions that took me like 100 commits

commit e2b9ea9b119c2a2fac6f5f3dbe5031847180b893
Author: datn <git@eleven.org>
Date:   Fri Nov 4 09:09:06 2022 +0100

    i hate numbered lists and i shouldn't be editing this with vim but there you go

commit 63139e2ea2d7679de33b35ca56212c0efc64a74d
Author: datn <git@eleven.org>
Date:   Fri Nov 4 09:07:46 2022 +0100

    still not wikitext

commit 0c6c481629c8b6f6b654af44ffb4eb9029df153a
Author: datn <git@eleven.org>
Date:   Fri Nov 4 09:06:39 2022 +0100

    let's gooooooo.notwikitext

commit 1975ad8a4fbc4658421cad3feb835b541583dd7f
Author: datn <git@eleven.org>
Date:   Fri Nov 4 09:05:29 2022 +0100

    let's gooooooo.md

commit c71a1a1ebebd5b0210a9d6c007a609011525ffcc
Author: datn <git@eleven.org>
Date:   Fri Nov 4 09:04:54 2022 +0100

    let's gooooooo

commit c37e6002c3219d8f96d52736d030c36a8558cf8c
Author: datn <git@eleven.org>
Date:   Fri Nov 4 08:30:07 2022 +0100

    okay, i freakin love this. i'm 9 hours ahead of CA time so i expect to
    see a flood of posts round about quittin' time over here

commit a1d61bacb9321ca354d071de56604b98b8677621
Author: yan <yan@brave.com>
Date:   Fri Nov 4 00:20:41 2022 -0700

    just realized this should be called gitposting

commit d2435c95c2119a585703cd0c0b315071213ba9ad
Author: datn <git@eleven.org>
Date:   Fri Nov 4 08:18:47 2022 +0100

    just setting up my janktwttr
This commit is contained in:
yan 2022-11-05 00:14:41 -07:00
parent 662c8189de
commit bcae95c7ed
No known key found for this signature in database
2 changed files with 75 additions and 0 deletions

66
README.md Normal file
View File

@ -0,0 +1,66 @@
## 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>
```
* to follow everybody:
`./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
```
* to view your timeline in a cool way:
```
git log --graph --all --decorate --oneline
```
* to get verified:
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

9
follow-everybody.bash Normal file
View File

@ -0,0 +1,9 @@
# Copyright @datn 2022. Heavens forgive me for this
# be in your repo dir for this
for I in `curl -H "Accept: application/vnd.github+json" https://api.github.com/repos/diracdeltas/tweets/forks | jq -r '.[].full_name'`
do
USEW=`echo $I | cut -d\/ -f1`
WEPO=`echo $I | cut -d\/ -f2`
git remote add $USEW https://github.com/$USEW/$WEPO
git fetch $USEW
done