An app store for decentralized peer-to-peer apps built with Pear.
It is a lightweight and efficient pear application store built on Hyperswarm and Hypercore technologies.
Hyperswarm facilitates connections between multiple peers, while Hypercore provides a secure, append-only log for storing globally added apps, rooms on Keet, and premium applications.
- Pear App & Room Store - Run and manage all Pear apps and rooms in one place.
- Decentralized by Design - do not depend on centralized servers.
- User Friendly - Simple, innovative, and efficient UI for smooth navigation
- Lightning Payment - allowing the premium apps to run after one time payment using Sats
If you are adding a pear app in Alaric, ensure your app's package.json
is like this :
- For a normal pear app
{
"name": "name_of_the_app",
"description": "the description of the app",
}
- For a premium pear app
{
"name": "name_of_the_app",
"description": "the description of the app",
"payments": {
"price": 100,
}
}
Frontend: Pear Framework - HTML, CSS, JavaScript
Networking: hyperswarm - A distributed networking stack for connecting pears.
Data Storage: hypercore - append-only log for storing data
Payment System: Lightning Network(Voltage) - Bitcoin micropayments for in-app transactions using QR codes.
Security: hypercore-crypto - Encryption and cryptographic verification for secure data transmission.
Designing: Figma - Designed the Icon, Wireframe and Layout of Alaric.
The Alaric consists of three primary layers :
Network Layer: Powered by HyperSwarm, this layer handles peer discovery and direct communication between nodes. Each peer joins a shared swarm to broadcast its presence and connect to other users.
Data Layer: HyperCore provides an append-only log system where data is securely stored and distributed. Each peer maintains its own data logs, making the system fully distributed without a single point of failure.
Application Layer: The frontend interacts with the network and data layers through the Pear Framework, enabling features like app sharing, terminal execution, and caching. This layer also integrates encryption protocols to ensure secure data transfers.
Make sure pear is installed in your system, if not then
npm i pear -g
To run the Alaric app in your system. The app-link will be shared by the user.
pear run pear://<app-link>
make sure all the dependencies are installed.
git clone https://github.com/Codesamp-Rohan/alaric.git
cd alaric
npm install
after cloning Alaric, to run the application.
pear run -d .
this is going to run your application locally.
Now if you want to share the application with other.
pear stage dev
pear release dev
pear seed dev
you will get the pear-key which is shareable.
Payment Improvement: Full Lightning Network integration with user wallets, balance tracking, and payment history.
UI/UX Enhancements: Implementing different themes.
Advanced Access Controls: Admin access to control the application and its data.
Third-Party Plugin Support: Allowing developers to create custom plugins for extending functionality.
Developed by: Rohan — Co-Founder of Holesail