
I've been working on getting a p2p imageboard functioning for a while and I decided to start fresh more recently with a new project. It's still not fully featured per se, but I feel like releasing it in it's current form since it's still functional and I want to see if it works in the wild. Hopefully you'll be able to see the existing boards and start posting.
https://gitgud.io/threshold862543/gladden
To install:
>install node and yarn (or npm instead of yarn)
>run "yarn build" to get the dependencies
>run "yarn start" to start the server
And you can add whatever boards you like.
This basically works like a torrent. Moderation is local, so you can delete files and posts that you don't like, but it won't be deleted for others necessarily (unless everyone else blocks them and there are no more seeders). "Subscribing" to others as moderators so you can trust them to delete for you is also possible I just haven't hooked it all up yet.

Bump

Interdasting concept.


> This basically works like a torrent. Moderation is local
So basically, if somebody decides to post some cp everyone automatically seed it and the only way to prevent that is to delete it as soon as it's posted?

>>302291
>the only way to prevent that is to delete it as soon as it's posted?
You can delete it at any time after it's posted and it will be gone from your machine and you won't get the same file again or seed it to anyone else (essentially hashbanning the file)
You can also (once I add this but it is pretty simple to implement) delegate others as trusted moderators on your behalf. So someone you trust with this power could delete the file and then you wouldn't see the file either.

finally
I recall theorizing about this briefly in 2015, 16 during the /intl/ days
Bernd
2024-03-01 18:29:46 ⋅ 1y
No. 302332
UwU

on my way :)

Peerbit was missing from your dependency list in package.json so I had to manually install it but here I am. Am I hacked now?

holy fucking shit bump this sounds epic

>>302338
fat retard go back to frying circuits

Really cool. I will definitely examine your code and learn from it, as I am interested in p2p a lot myself too.
Sadly you try to imitate imageboard UI from 2005 PHP times.

>>302338
fatass

>>302337
Oh thanks for pointing that out., I'll add it in.

>>302341
Just updated some stuff, I'm inclined towards minimalist design like that, but custom css selector is something on the to-do list.
Also I looked into what you mentioned about the dependencies, I think maybe you built it using
>yarn install or npm install
instead of:
>yarn build
There's a subfolder with its own package.json so yarn build takes care of that.
I also want to get this into an executable so people can just extract-and-run and also create a browser-based frontend that's compatible with the same p2p database in the backend as the desktop client.
And I upped the replication factor on the seedbox node (and also made this into a config option, if you want to replicate everything instead of having it be dynamic, set replicationFactor to 1 in config/config.json) hopefully that will help avoid issues with data availability. If there are particular boards you'd like me to seed in addition to the defaults, let me know.

>>302354
oh yeah i did npm install because npm build didn't work

>>302356
Okay yeah the directory structure (and also install) was excessively complicated, I put everything in one folder with one package.json now, so you should be able to install with npm install. Also makes the dependencies folder much smaller for some reason.

Added a css selector and a more dark mode theme. You can also put your own custom css files into the /themes folder.
Also there are no restrictions on filetypes really so you can share themes directly if you want.

And also I recommend migrating to the newest version as there's a setting that should make data more persistent and pages quicker to load. If you copy paste your storage folder everything should port over for the most part, but even without doing that, you should be able to get all the existing data from other peers.

Fixed things up a bit so data should be more persistent and loading should generally be a good bit faster, so I recommend pulling the latest version.

Finally got post quoting working. There's no post numbers so it uses post hash instead.
Also neatened up some of the UI.

Why aren't all websites p2p already? It would save the jews a lot of money

>>303190
can't monopolize for (((socially constructive purposes))), oy vey

Added some gateway configuration settings so you can turn off certain features if you want to expose your pageserver to the wider internet:
Here's a public gateway where you can browse some boards but with posting disabled:
https://gladden.peerchan.net/landing/index.html

It's possible to run this on android using termux, and doesn't seem to use too many resources.