1
0
Fork 0

Rapidblock go build

main
Jeff Moe 2023-01-08 19:38:14 -07:00
parent 500906eb16
commit 41476d4221
1 changed files with 61 additions and 0 deletions

View File

@ -7,6 +7,67 @@ Share your wisdom here:
* https://joinmastodon.org/
# jebba.moe
I run my own personal Mastodon server since 2023:
* https://jebba.moe
This present repo is for small notes and scripts for maintaining my instance.
https://spacecruft.org/deepcrayon/mastodon
# Le Spam
There are some on the Internet that like to spam and attack Mastodon nodes.
Often, this is related to political attacks, but it will run the gamut of
the weirdness on Earth.
Groups of moderators are created, some working together, to allow them
to shape they server as they like.
Rapidblock is software that allows Mastodon nodes to block unwanted servers
more easily. It helps put the community back in charge of their own server.
Or that's at least the goal, as far as I can tell. I am not the author
of it. It is also in very early development, but is mature enough to try
out, if you're familiar with server administration.
Here's notes so far. I haven't run it. Maybe soon.
Quick & dirty build for Debian Bullseye (11/stable).
Note, the `.deb` packages upstream use `zstd` compression,
which Bullseye `dpkg-deb` can't uncompress.
To build, a newer `go` compiler is needed than ships in the
main Bullseye repo. It is in the Bullseye backports repo.
Edit `/etc/apt/sources.list` and make sure it has a line like this:
```
deb http://mirrors.kernel.org/debian bullseye-backports main
```
```
sudo apt update
sudo apt install -t bullseye-backports golang-go
git clone https://github.com/rapidblock-org/rapidblock
cd rapidblock
go install
go build
```
That should build a binary `rapidblock`.
To confirm it works, run:
```
./rapidblock --help
```
# Disclaimer
I have only been running a Mastodon server for a week, and am just
figuring out how it works as I go.
# Copyright
Unofficial project, not part of official Mastodon software or
website. Upstream sources under their respective copyrights.