SupGalaxy is an open-source, serverless voxel worldโMinecraft-style gameplay fused with satoshi-grade decentralization. Worlds generate from simple keyword seeds and sync globally through IPFS + P2FK on Bitcoin testnet3. No accounts. No servers. No gatekeepers. Just your browser and an infinite procedural cosmos.
Built with โค๏ธ by embii4u, kattacomi, Grok (xAI), Jules, ChatGPT and github CoPilot.
License: CC0 (Public Domain)
Use, modify, remix, or commercialize freely.
Demo: https://supgalaxy.org
- Worlds derived from simple keyword seeds (
space,FLOWER๐ผ,Love) - Cosmic biomes: Vulcan fields, lunar ranges, massive giants, vast deserts
- Procedural stars, sun(s) & moon(s) per world
- Mine, place, craft, explore
- Fight mobs and manage health
- Toroidal map (wraps seamlessly at edges)
- Streamlined inventory and crafting system
- Chunk deltas stored as JSON on IPFS
- Indexes via P2FK (Pay-to-Future-Key) on Bitcoin testnet3
- Optional world ownership (1-year renewable)
- Global sync without centralized servers
- Save and reload game session via file
- Peer-to-peer multiplayer (TURN recommended)
- Syncs player position, builds, and combat
- Drag-and-drop
.jsonconnection files - PvP through left-click with knockback
A special block capable of adding images, video, audio and animated 3d models into the game world.
A special block capable of adding colored or transparent signs with clickable web links into the game world.
See and hear players based on distanceโnatural spatial communication.
- Discovers audio and video tracks tagged
#gameacross the p2fk.io network - Loads the 10 latest
.mp3/.wav/.mp4/.avifiles - Includes in-game mini-player controls and saveable playlists
- Bees (Day) โ gather pollen and produce honey
- Honey โ restores +5 HP
- Night Crawlers (Night) โ hunt honey & smash hives
- Torches โ repel night creatures with light
๐ https://supgalaxy.org
No install required. Works in Chrome/Firefox. HTTPS recommended.
SupGalaxy now ships as a multi-file project, easier for developers to modify.
- Download the ZIP (from GitHub Releases).
- Unzip the folder anywhere.
- Open the folder and launch
index.htmlin Chrome or Firefox.- Works offline
You're in!
- World Name: max 8 chars
- Username: max 20 chars
- Seed: auto-generated as
worldname
Spawn, explore, build, fight, survive.
| Action | Keyboard / Mouse | Mobile |
|---|---|---|
| Move | WASD |
Arrow buttons |
| Jump | Space |
J |
| Attack / Mine | Left-click | โ |
| Place Block | Right-click | Hold |
| Select Item | Scroll | Hotbar tap |
| Toggle View | T |
T |
| Craft | R |
โ |
| Teleport | P |
โ |
| Save | X |
โ |
Tips:
- 2 sand โ 4 glass
- +10 score per mob defeated
- Players & mobs spawn in loaded chunks
- TURN server recommended for multiplayer
- Start a world.
- Receive an offer file from a client.
- Accept via Pending Connections or drag onto the minimap.
- Game creates an answer file.
- Send the answer back to the client.
- Open ๐ Online Players โ enter host name โ click join
- Download offer file.
- Send to host.
- Receive answer.
- Drag it onto your minimap.
Connection established โ avatars appear โ PvP active.
SupGalaxy is entirely browser-basedโno bundlers, node modules, or build steps.
- three.js rendering
- Infinite procedural chunks (16ร64ร16)
- Background worker polling P2FK
- WebRTC peer-to-peer networking
- Simple JS modules
BLOCKS[id] = {
name: "StarBlock",
color: "#hex",
transparent: true
};RECIPES.push({
id: "star",
out: { id: 120, count: 1 },
requires: { 4: 2 }
});BIOMES.push({
key: "nebula",
palette: [16, 4],
heightScale: 2.0,
roughness: 0.7,
featureDensity: 0.01
});- Position sync via
user_update - Avatar rendering through
userPositions - TURN server strongly recommended
SupGalaxy uses a truncated unix date system to ensure block updates from IPFS remain in correct chronological order:
- BlockDate from Blockchain: When chunks are published to the blockchain via IPFS, they receive a BlockDate from the transaction. This BlockDate is returned by GetPublicMessagesByAddress when loading chunks by keyword search.
- Truncated Unix Date: Seconds since 2025-09-21 00:00:00 UTC (custom epoch). This provides a compact integer for versioning.
- Monotonic Ordering: Block updates are only accepted if they have a strictly newer (larger) truncated unix date than any existing update.
- Out-of-Order Protection: If IPFS files arrive or are processed out of order, older updates are automatically skipped.
Helper functions:
// Compute truncated date from a BlockDate timestamp (in milliseconds)
const truncated = computeIpfsTruncatedDate(blockTimestampMs);
// Check if an IPFS update should be applied (returns true if incoming > existing)
if (shouldApplyIpfsUpdate(existingTruncated, incomingTruncated)) {
// Apply the update
}Run tests in the browser console: runIpfsVersioningTests()
Run your own Sup!? + p2fk.io stack for full independence.
- Windows
- ~260 GB free (Bitcoin testnet3)
- .NET 8.0+
- Fast SSD
- Extract
Supv0.7.6-betatoC:\SUP - Launch
SUP.exe - Enable testnet
- Sync (1โ2 days)
Edit Wrapper.cs:
public string TestCLIPath = @"C:\SUP\SUP.exe";
public string TestVersionByte = @"111";
public string TestRPCURL = @"http://127.0.0.1:18332";
public string TestRPCUser = "good-user";
public string TestRPCPassword = "better-password";Start API โ http://localhost:5000
Search/replace https://p2fk.io with your local endpoint.
Export JSON from the game โ publish using Sup!? โ peers sync automatically.
| Feature | SupGalaxy | Traditional |
|---|---|---|
| Worlds | Infinite | Finite / server-bound |
| Persistence | On-chain (IPFS + BTC) | Central servers |
| Multiplayer | WebRTC P2P | Hosted servers |
| Ownership | Player-controlled | Company-owned |
| Licensing | CC0 | Proprietary |
- Play: https://supgalaxy.org
- Contribute: Pull requests welcome
- Community: Join #HugPuddle on Sup!?
- Contact: @embii4u on Sup!?
SupGalaxy: A gift to the world. Build freely. Explore infinitely. โจ