A decentralized Git collaboration layer powered by events.
Your code. Your identity. Your infrastructure.
Event Git Graph (EGG) is a decentralized infrastructure for software development and collaboration.
It combines:
- Git → distributed version control
- Nostr → identity and event distribution
- Pegg → lightweight static hosting layer
EGG reimagines platforms like GitHub by removing central servers and replacing them with a protocol-driven ecosystem.
Instead of relying on a single platform, each developer becomes their own platform.
Modern development depends on centralized services. While Git is distributed, collaboration is not.
EGG changes that.
There is no central server.
There is no global database.
There is no authority controlling access.
Each developer:
- Hosts their own repositories
- Owns their identity (via cryptographic keys)
- Publishes and consumes events in a distributed network
EGG introduces a new paradigm:
All development actions are events.
These include:
- Repository creation
- Commits (references)
- Forks
- Issues
- Pull requests
- Permissions
Each event is:
- Cryptographically signed
- Distributed through relays
- Independently verifiable
Together, they form a graph of software evolution — the Event Git Graph.
EGG is composed of three layers:
Repositories are hosted as static content:
- GitHub Pages
- Personal servers
- Local environments
This layer is called Pegg.
Pegg is:
- A static hosting structure
- A repository index
- A publishing environment
It is:
- Lightweight
- Serverless
- Replicable
- Fully independent
There is no central Pegg.
Anyone can run their own.
EGG uses Nostr for:
- Identity (public/private keys)
- Authentication (signatures)
- Event propagation
- Social relationships
Users do not create accounts.
They use keys.
The client is the interface layer.
It enables users to:
- Browse repositories
- Manage projects
- Contribute code
- Publish events
There is no official mandatory client.
Anyone can build their own.
EGG replicates a full GitHub-like experience — without centralized accounts.
Each user has:
- Public profile (derived from pubkey)
- Name, bio, avatar, links
- Repository list
- Contribution history
- Followers / following
- Activity timeline
All data is:
- Signed by the user
- Distributed via Nostr
- Stored in a decentralized manner
Repositories are independently hosted and referenced.
- Open to anyone
- Discoverable via clients
- Forkable without permission
- Access restricted by public keys
- Optional encryption
- Shared selectively
Permissions are not server-based.
They are defined by:
- Signed events
- Public key lists
- Local validation logic
This enables:
- Fine-grained control
- Delegated access
- Shared hosting environments
Example:
A user may allow others to publish repositories inside their Pegg.
Forks are independent.
They:
- Reference original repositories
- Exist in separate hosting environments
- Are linked through events
There is no central merge authority.
Collaboration is:
- Peer-to-peer
- Event-driven
- Graph-based
/egg index.json users/ / profile.json repos/ project-a/ project-b/
The name EGG represents:
- Birth of ideas
- Organic growth
- Decentralized creation
Each repository is a seed.
Each fork is a mutation.
Each Pegg is an ecosystem.
EGG is not a closed product.
It is an open protocol and infrastructure.
Developers can:
- Build custom clients
- Create indexing services
- Develop marketplaces
- Offer hosted Pegg environments
- Extend the protocol
No permission required.
Because EGG is decentralized:
- Projects cannot be globally removed
- Identities cannot be banned
- Data can be mirrored
The system is resilient by design.
EGG acknowledges:
- UX complexity
- Event standardization
- Discoverability
- Moderation
- Synchronization
These are part of the evolution of decentralized systems.
- Protocol definition
- Static Pegg structure
- Basic repository listing
- Nostr login integration
- Event publishing
- Basic client interface
- Full GitHub-like UI
- Forks, issues, PRs
- Multi-user Pegg support
- Ecosystem tools
- Search/indexing
- Plugin architecture
Perfeito — aqui está toda a parte que você colou, corrigida e totalmente formatada em um único bloco de código 👇
---
## 📦 Example Repository Index
```json
[
{
"name": "my-project",
"url": "/repos/my-project",
"visibility": "public"
}
]{
"kind": 30001,
"content": {
"name": "my-project",
"description": "Example project",
"url": "https://example.com/repos/my-project",
"visibility": "public"
}
}Don't trust the platform. Be the platform.
EGG transforms:
- Platforms → Protocols
- Accounts → Keys
- Servers → Networks
We welcome all contributors.
You can:
- Build a client
- Propose protocol improvements
- Create Pegg instances
- Experiment freely
MIT License
EGG is not trying to replace existing platforms.
It is building something fundamentally different:
A world where developers are sovereign.
Where code is free, identity is owned, and collaboration is truly decentralized.
🥚 Let ideas hatch.
```