Infinite Immortal API over Bitcoin
Planaria Network GitHub Slack Twitter
Are you familiar with API frameworks like Ruby on Rails, Django, Laravel, Spring, etc.?
Planaria is like these frameworks, but:
- 100% powered by Bitcoin.
- Containerized as an API Microservice.
- Only requires JavaScript skills to program.
Anyone can build and publish a public Planaria node, and anyone can connect to the public Planaria nodes to build serverless apps. Check out some public Planaria nodes you can use right now:
Here's how it works:
- Crawl: Planaria crawls the Bitcoin blockchain programmatically.
- Index: Indexes the crawled result in a MongoDB instance.
- Serve: Provides a Docker containerized HTTP[S] and SSE (Server Sent Events) Microservice API endpoint.
Thanks to the containerized architecture, everything is portable. No one organization can own an API endpoint. Anyone can deploy and run a public Planaria API endpoint with just a single command.
Why build APIs on Bitcoin?
- Portable & Serverless: There is no single server that runs the API. Anyone can instantly start a Planaria node.
- Transparent: Build 100% Transparent APIs. Both data and code are stored publicly on Bitcoin.
- Immutable: Build APIs that cannot be altered once deployed.
- Immortal: Build APIs that can outlive the host, forever. Even if one node goes away, anyone can come along and reproduce EXACTLY the same node.
- Monetizable: Build APIs that can be seamlessly monetized natively with Bitcoin.
Planaria is an all-in-one framework for building, publishing, and running Bitcoin-powered Microservice API endpoints with:
- Universal Query language: A powerful built-in declarative query language (Bitquery) that is portable, programmable, and Turing complete.
- HTTP[S]: A Developer friendly HTTP[S] API that can be used in any environment (web, mobile, server-side, embedded, etc.), with any programming language, thanks to the JSON-based portable query language.
- SSE (Server Sent Events): A programmable push API which lets consumers subscribe to various Bitcoin event patterns, using the same query language.
Learn how Bitcoin + Planaria changes how applications work
Planaria Computer is a command line interface application that lets you build and manage Planaria API and nodes.
Planaria Network is a registry where you can publish Planaria state machines.
There are two modes of publishing:
- Publish the Code: Share the code, so other people (or yourself) can run the code.
- PublLet the API: Open up your node for others to use as backend.
Before diving in, here are some useful links that may be helpful in your journey with Planaria:
Twitter: Follow @_unwriter on Twitter for Planaria related announcements.
Github: Planaria Github Repository. Planaria is 100% open sourced.
Slack: Have questions? Join the Atlantis Slack and meet other Bitcoin developers.