Skip to content

NIP-DC: Nostr Webxdc#2230

Open
alexgleason wants to merge 2 commits intonostr-protocol:masterfrom
alexgleason:webxdc
Open

NIP-DC: Nostr Webxdc#2230
alexgleason wants to merge 2 commits intonostr-protocol:masterfrom
alexgleason:webxdc

Conversation

@alexgleason
Copy link
Member

This is an attempt to bring webxdc https://webxdc.org/ apps to Nostr

Webxdc enables people to share "mini apps" that groups of people can interact with.

Here is a demo of one embedded in a kind 1 using an imeta tag: https://mew.ditto.pub/nevent1qgsqgc0uhmxycvm5gwvn944c7yfxnnxm0nyh8tt62zhrvtd3xkj8fhgqyz2j47ku4z4xfpx2ynumth3k89gk5vg0yr83dhvv4e4klwh6xzvd67pfm94

Webxdc is normally used in small, closed groups. On Nostr they are public to everyone. It's an interesting element of chaos. Nostr could support private webxdc, but that's out of scope for now.

Each time you post a webxdc app a session is created tied to that posting. So the Tetris scoreboard is confined to my post. if I posted the app again, it would have a different scoreboard.

On web I am using an iframe. But it was actually harder to achieve that than you'd think. Webxdc is designed for native apps (to run in web views), not for the web. So it will work everywhere.

@vitorpamplona
Copy link
Collaborator

Nice! I was hoping to do something similar with Pico8, but it is so hard to find emulators...

@alexgleason
Copy link
Member Author

Nice! I was hoping to do something similar with Pico8, but it is so hard to find emulators...

You could embed a pico8 emulator into a webxdc app. Eg a Game Boy emulator (bundled with a game) packaged for webxdc: https://mew.ditto.pub/nevent1qgsqgc0uhmxycvm5gwvn944c7yfxnnxm0nyh8tt62zhrvtd3xkj8fhgqyqkdgqgmxfme9zrz4fpuj4upwg3punjpxh792ttlllkzlyum4zfnw0283uq

@adbenitez
Copy link

adbenitez commented Feb 23, 2026

Nice! I was hoping to do something similar with Pico8, but it is so hard to find emulators...

@vitorpamplona fun fact: there is a TIC-80 webxdc (and pico-8 games can be ported to TIC-80 with the help of p8totic)
https://mastodon.social/@adbenitez/115677375015639982

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants