Note: This project is currently a Proof of Concept (PoC). It demonstrates the core architectural patterns and user interface for a decentralized digital commons platform. The backend is not fully integrated, and the UI currently operates with mock data.
A digital commons platform that enables organization-agnostic, capture-resistant resource sharing built on Holochain and ValueFlows economic modeling.
True Commons represent a new paradigm for digital resources that are:
- π Capture-Resistant: Built on Holochain's decentralized architecture to resist corporate capture
- ποΈ Organization-Agnostic: No single entity controls resources; governed by embedded rules
- π Value-Tracking: Uses ValueFlows ontology to track all economic activities and contributions
- π Permissionless: Open access under defined rules - anyone can contribute and use
- π± Shareable by Default: Resources are designed for sharing and collaborative improvement
- π Unenclosable: Hard to clone or capture due to network effects and embedded governance
Bob creates an open-source irrigation system as a digital artifact containing build instructions, economic data (time, materials, organizational context), and embedded access rules. Lynn discovers it, builds the system, adds improvements, and contributes back. The artifact exists independently with no central owner but is governed by its embedded rules, creating value for the entire commons.
- π¨ Modern Dashboard: Beautiful, responsive interface showcasing True Commons principles
- π Network Statistics: Real-time display of agents, resources, economic events, and value created
- π Resource Discovery: Browse and search digital resources with metadata, tags, and licensing
- π₯ Agent Profiles: View contributors, organizations, and their reputation/contributions
- π Economic Events: Track all ValueFlows activities (create, use, fork, collaborate)
- π― True Commons Principles: Visual representation of core concepts and values
- π GraphQL Service: Clean API layer for hREA (Holochain Resource-Event-Agent) integration
- π Holochain Client: Service for connecting to Holochain conductor
- π§© True Commons Service: Orchestrates GraphQL and Holochain for True Commons-specific functionality
- π TypeScript Types: Comprehensive interfaces extending hREA with True Commons concepts
- β¨ Demo Data: Rich examples showing solar irrigation systems, water purification plans, and permaculture software
- π§ Type Safety: Full TypeScript implementation with zero linting errors
- π¨ TailwindCSS: Modern, responsive styling with dark mode support
- π¦ Clean Architecture: Modular services with clear separation of concerns
- β Quality Assurance: ESLint, Prettier, and svelte-check all passing
- hREA Backend: GraphQL endpoint not yet configured (UI runs with demo data)
- Holochain Conductor: Backend services not yet deployed
- Real Resource Operations: Creating, forking, and collaborating on actual resources
- Agent Authentication: Proper identity and reputation management
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β True Commons UI (SvelteKit) β
β βββββββββββββββββββ βββββββββββββββββββ ββββββββββββββββββββββββ
β β Dashboard β β Resources β β Economic Events ββ
β β - Network β β - Discovery β β - ValueFlows ββ
β β - Stats β β - Metadata β β - Tracking ββ
β βββββββββββββββββββ βββββββββββββββββββ ββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββΌββββββββββββββββββ
β β β
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β GraphQL β β True Commons β β Holochain β
β Service β β Service β β Client β
β (hREA) β β (Orchestor) β β Service β
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β β
βββββββββββββββ βββββββββββββββ
β hREA β β Holochain β
β Backend β β Conductor β
β (GraphQL) β β (P2P) β
βββββββββββββββ βββββββββββββββ
- Frontend: SvelteKit, TypeScript, TailwindCSS
- Backend: Holochain, hREA (Holochain Resource-Event-Agent)
- Economic Model: ValueFlows ontology for resource tracking
- Data Layer: GraphQL for hREA integration
- Architecture: Microservices with clean separation of concerns
Set up the Holochain development environment:
# Enter nix development shell
nix develop
- Install Dependencies
# Install project dependencies
bun install
# Install UI dependencies
cd ui
npm install
- Start Development Server
# From the ui directory
npm run dev
- View True Commons Dashboard
# Open in browser
open http://localhost:5173
You'll see the True Commons dashboard with demo data showcasing:
- Network statistics (47 agents, 156 resources, 892 economic events)
- Example resources (Solar Irrigation, Water Purification, Permaculture Software)
- Active agents (Bob Martinez, Lynn Chen, Community Gardens Collective)
- True Commons principles visualization
# Run all checks (from ui directory)
npm run lint # ESLint + Prettier
npx svelte-check # TypeScript validation
npm run format # Auto-fix formatting
- Deploy hREA Backend: Set up GraphQL endpoint with ValueFlows schema
- Configure Holochain Conductor: Connect P2P networking and DHT
- Connect Real Data: Replace demo data with live hREA queries
- Agent Authentication: Implement proper identity management
- Resource Creation: Enable users to create digital resources with metadata
- Resource Forking: Implement derivation and attribution tracking
- Economic Events: Record all ValueFlows activities (create, use, fork, transfer)
- Search & Discovery: Tag-based and semantic resource discovery
- Reputation System: Track contributions and build agent reputation
- Collaboration Sessions: Real-time co-creation and editing
- Governance Mechanisms: Embedded rules and community decision-making
- Value Distribution: Economic models for rewarding contributors
- Cross-Network Integration: Federate with other commons networks
- Mobile Applications: Native apps for broader accessibility
- Domain-Specific Commons: Agriculture, software, research, education
- Enterprise Integration: APIs for organizations to contribute/consume
- Educational Resources: Tutorials, documentation, case studies
- Policy Research: Study impacts on innovation and collaboration
- Global Network: Scale to thousands of participating communities
- TRUE_COMMONS_ARCHITECTURE.md: Detailed technical architecture
- ValueFlows Documentation: Economic modeling foundation
- hREA Project: Holochain Resource-Event-Agent implementation
- Holochain Docs: Decentralized application platform
This project demonstrates a new model for digital commons that could transform how we create, share, and govern digital resources. Contributions welcome!
# Development (from ui directory)
npm run dev # Start SvelteKit dev server
npm run build # Build for production
npm run preview # Preview production build
# Quality Assurance
npm run lint # Check formatting and linting
npm run format # Auto-fix code style
npx svelte-check # TypeScript validation
# Holochain (when backend is configured)
hc app pack workdir/ # Package Holochain app
bun run test # Run backend tests (from project root)
True Commons represent a paradigm shift toward:
- Sustainable Innovation: Resources improve through collaborative use
- Economic Justice: Value flows to contributors, not extractors
- Technological Sovereignty: Communities control their digital resources
- Global Collaboration: Knowledge sharing transcends organizational boundaries
- Regenerative Systems: Commons that grow stronger through participation
Together, we're building the infrastructure for a more collaborative, equitable, and innovative digital future.