-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Priority: HighdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
Problem
The gun branch represents a complete architectural shift from client-server to P2P using Gun.js, but this radical change is not documented anywhere. The README still describes the old Prisma/Docker setup that no longer exists.
Current State
- The
gunbranch has removed all traditional backend infrastructure - Everything runs P2P via Gun.js
- The only server is a minimal 26-line relay in
/clean - New developers have no way to understand the architecture
What's Missing
-
Updated README.md
- Remove old Docker/Prisma instructions
- Explain P2P-first approach
- Document the new
pnpm cleanworkflow
-
ARCHITECTURE.md
- Explain Gun.js data model
- Document the space concept (local/global)
- Describe the universal relation system
- Show data flow in P2P architecture
-
DEVELOPMENT.md
- Gun.js patterns and best practices
- How to work with composables/providers
- Debugging P2P applications
- Common Gun.js pitfalls
-
PLUGIN_DEVELOPMENT.md
- How to create plugins in the P2P world
- Plugin data storage in Gun
- Dynamic routing integration
Impact
Without documentation, new contributors cannot understand:
- Why there's a
/serverdirectory that's not used - How authentication works without a backend
- Where data is stored
- How to develop in this P2P paradigm
Suggested Solution
Create comprehensive documentation that explains the P2P-first architecture and helps developers understand this innovative approach to building decentralized social platforms.
Note: This issue was created after analyzing the codebase and discovering the undocumented architectural transformation from traditional client-server to pure P2P.
Metadata
Metadata
Assignees
Labels
Priority: HighdocumentationImprovements or additions to documentationImprovements or additions to documentation