Introduce some code formatting guidelines and enforce them with hlint and stylish: - End-of-line extra spaces removal; - Import lines ordering; - Redundant ($) removal; - Generalisation of (++) and map to (<>) and fmap; - Preferring pure over return; - Removing extraenous extensions.
|9 months ago|
|src||9 months ago|
|test||9 months ago|
|.gitignore||9 months ago|
|.hlint.yaml||9 months ago|
|CHANGELOG.md||9 months ago|
|FediChord.asn1||9 months ago|
|Hash2Pub.cabal||9 months ago|
|LICENSE||9 months ago|
|Readme.md||9 months ago|
|Setup.hs||9 months ago|
|default.nix||9 months ago|
|democlient.hs||9 months ago|
|demoserver.hs||9 months ago|
|hashtest.hs||9 months ago|
|shell.nix||9 months ago|
|stylish.sh||9 months ago|
This is heavily WIP and does not provide any useful functionality yet.
I aim for always having the master branch at a state where it builds and tests pass.
A fully-decentralised relay for global hashtag federation in ActivityPub based on a distributed hash table. It allows querying and subscribing to all posts of a certain hashtag and is implemented in Haskell.
This is the practical implementation of the concept presented in the paper Decentralised Hashtag Search and Subscription for Federated Social Networks. A 30 minutes introduction talk is available as well.
The ASN.1 module schema used for DHT messages can be found in
The project and its developent environment are built with Nix.
The development environment can be entered with
nix-shell. Then the project can be built with
cabal build from within the environment, or using
nix-shell --command "cabal build" to do both steps at once.