SkillAgentSearch skills...

Publius

Share files to the decentralized, unblockable torrent swarm and share links using Handshake domains. Decentralized internet is here.

Install / Use

/learn @publiusfederalist/Publius
About this skill

Quality Score

0/100

Supported Platforms

Zed

README

publius

Share files to the unblockable DHT

Learn more by joining the Handshake Discord Community

Short Description

publius uses webtorrent to share a folder to be viewed by federalist.

Long Description

publius is a helper/server for federalist, which is a proof of concept to show that it's possible, today, to create an uncensorable and generally unblockable, distributed high performance viewable page. federalist achieves this by using several amazing technologies and weaves them together:

  • WebTorrent - Provides torrenting capabilities and the bulk of the system. federalist pages are torrents that are distributed via magnet links and DHT is used to find peers.

  • Handshake - Provides decentralized DNS

  • nodeJS - Provides the Javascript engine built on V8 by Chrome

  • Electron - Provides the GUI

Screenshot

Federalist Screenshot

Use Cases

  • Create an unblockable blog

  • Whistleblow (don't do this without an anonymizer!)

  • Share information

  • Share meta information about other torrents

  • Create an unblockable personal link site

publius

The publius app share/seeds your page and gets the infohash to which an on-chain Handshake name can be resolved. Use the federalist app to browse pages in the federalist world.

Installation

Required

npm
nodejs
  1. Clone this repo
git clone https://github.com/publiusfederalist/publius
cd publius
  1. Install npm modules
npm install webtorrent supercop.js
  1. Create files in the web3root folder
cd web3root
vi index.html
  1. Run seed
cd ..
./seed &
  1. For mutable (updatable) sites, also run publius
./publius
  1. Update Handshake Address on chain with TXT Record to your magnet link (depending on mutable or immutable from seed or publius -- see 'federalistpapers' as an example).

Discussion

Please make an issue on github for any bugs or feature requests. To discuss more, join #scarywater on irc.freenode.net.

Copyright and License

(c) 2021 Publius

MIT LICENSED

View on GitHub
GitHub Stars34
CategoryDevelopment
Updated1y ago
Forks1

Languages

JavaScript

Security Score

60/100

Audited on Feb 11, 2025

No findings