Hypermind The High-Availability Solution to a Problem That Doesn't Exist. Hypermind is a completely decentralized, Peer-to-Peer deployment counter and ephemeral chat platform. It solves the critical infrastructure challenge of knowing exactly how many other people are currently wasting 50MB of RAM running this specific container, while providing a secure, serverless way to say "hello" to them. Special Announcement…
The High-Availability Solution to a Problem That Doesn’t Exist.
Hypermind is a completely decentralized, Peer-to-Peer deployment counter and ephemeral chat platform.
It solves the critical infrastructure challenge of knowing exactly how many other people are currently wasting 50MB of RAM running this specific container, while providing a secure, serverless way to say “hello” to them.
Special Announcement
Apparently the counter was not enough.
Hypermind-Swarm is a fork of Hypermind that takes the same P2P bones and turns them into a Twitter-style social platform for decentralized, ephemeral conversations.
It is built by the same creator, still allergic to central servers, still running on the swarm, and now aimed at letting people post into the void without algorithms, permanent digital footprints, or anyone pretending this needed to exist.
What is this?
You need a service that:
Does absolutely nothing useful.
Uses “Decentralized” and “P2P” in the description.
Makes a number go up on a screen.
Enter Hypermind.
There is no central server. There is no database. There is only The Swarm.
How it works
We utilize the Hyperswarm DHT (Distributed Hash Table) to create a mesh network of useless nodes.
Discovery: Your node screams into the digital void to find friends.
Gossip: Nodes connect and whisper “I exist” to each other.
State:
Active Count: Maintained via a distributed LRU cache of peers seen in the last 45 seconds.
Total History: Uses a HyperLogLog probabilistic data structure to estimate total unique peers with >98% accuracy.
Chaos: Connections are rotated every 5 minutes to ensure a dynamic, unblockable topology.
Features
1. The Counter
It counts. That’s the main thing.
Active Nodes: Real-time count of currently online peers.
Total Unique: A probabilistic estimate of every unique node ever encountered.
2. Ephemeral Chat
A completely decentralized chat system built directly on top of the swarm topology.
Modes: Local (direct neighbors) and Global (gossip relay).
⚠️ CRITICAL NETWORK NOTE:
Use --network host. This is a P2P application that needs to punch through NATs. If you bridge it, the DHT usually fails, and you will be the loneliest node in the multiverse.
Docker Compose (The Classy Way)
Add this to your docker-compose.yml to permanently reserve system resources for no reason:
Sensors: Swarm health checks and statistics logging.
WLED Support: Visualize the swarm size on a literal LED strip.
Homepage Dashboard
If it’s not on your dashboard, does it even exist? You can query the /api/stats endpoint to add a widget to gethomepage/homepage.
Add this to your services.yaml:
- Hypermind:
icon: /icons/hypermind2.png
href: http://<YOUR_IP>:3000
widget:
type: customapi
url: http://<YOUR_IP>:3000/api/stats
method: GET
mappings:
- field: count
label: Active
- field: totalUnique
label: All Time
To get the icon to work, you have to add the icon to /app/public/icons. See detailed instructions.
API Documentation
For developers who are not satisfied in just looking a number on the screen but are craving to add new features, a comprehensive development API documentation is available in devdocs/API.md.
Available Endpoints:
GET /api/stats - Current node statistics
POST /api/chat - Send P2P chat messages
GET /api/github/latest-release - Latest release information
GET /events - Server-Sent Events stream for real-time updates
GET /js/lists.js - Dynamic adjectives/nouns for screenname generation
GET /js/screenname.js - Screenname generation logic
GET / - Main HTML page
The documentation includes security best practices, rate limiting guidelines, modular route structure, and examples for creating new endpoints.
Local Development
Want to contribute? Why? It already does nothing perfectly. But here is how anyway:
# Install dependencies
npm install
# Run the beast
npm start
Simulating a Swarm
You can run multiple instances locally to simulate popularity:
评论