A web application to visualize invitation networks on the Ethos platform using interactive graphs and network analysis.
This project provides a beautiful, modern interface to:
- Search for Ethos users with intelligent typeahead
- Visualize invitation connections and trust relationships
- Analyze network patterns and user interactions
- Explore the social graph of the Ethos ecosystem
- Framework: Fresh (Deno's full-stack web framework)
- Runtime: Deno
- Language: TypeScript
- Styling: Twind (Tailwind CSS-in-JS)
- Deployment: Deno Deploy
- API: Ethos Network API v2
- Smart User Search: Typeahead search with Ethos API integration
- Beautiful UI: Modern, responsive design with smooth animations
- User Selection: Click or keyboard navigation to select users
- Stub Analysis Page: Foundation for network visualization
- TypeScript Types: Comprehensive type definitions for Ethos API
- Interactive network graphs using D3.js or similar
- Invitation flow analysis and statistics
- Trust relationship visualization
- Network depth and connection metrics
- Deno installed on your system
- Clone the repository:
git clone <repository-url>
cd ethos-invite-graph- Start the development server:
deno task start- Open your browser and navigate to
http://localhost:8000
# Start development server with hot reload
deno task start
# Run type checking and linting
deno task check
# Build for production
deno task build
# Preview production build
deno task preview
# Update Fresh framework
deno task updateethos-invite-graph/
├── routes/
│ ├── api/
│ │ └── search-users.ts # Ethos API proxy endpoint
│ ├── analysis/
│ │ └── [userkey].tsx # User analysis page
│ └── index.tsx # Main landing page
├── islands/
│ └── UserSearch.tsx # Interactive search component
├── types/
│ └── ethos.ts # TypeScript type definitions
├── static/ # Static assets
├── deno.json # Deno configuration
├── fresh.config.ts # Fresh framework config
├── twind.config.ts # Styling configuration
└── ethos-api-v2-documentation.md # Complete API documentation
The application integrates with the Ethos Network API v2:
- Base URL:
https://api.ethos.network/api/v2 - User Search:
/users/searchendpoint for typeahead functionality - No Authentication: Currently using public endpoints only
- User search with query parameters
- User profile information
- Score and trust level data
- Activities API for invitation data
- Reviews API for trust relationships
- XP API for user engagement metrics
- Install the Deno Deploy CLI:
deno install --allow-read --allow-write --allow-env --allow-net --allow-run --no-check -r -f https://deno.land/x/deploy/deployctl.ts- Deploy to Deno Deploy:
deployctl deploy --project=ethos-invite-graph main.tsCurrently no environment variables are required. The application uses public Ethos API endpoints.
- Project setup with Fresh and Deno
- User search with typeahead
- Basic UI and routing
- Ethos API integration
- TypeScript types
- Invitation data fetching
- Graph visualization with D3.js
- Network statistics calculation
- Interactive node exploration
- Real-time data updates
- User comparison tools
- Export functionality
- Advanced filtering options
- User authentication
- Saved analyses
- Sharing capabilities
- Community insights
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
Complete Ethos API v2 documentation is available in
ethos-api-v2-documentation.md.
[License details to be added]
[Contact information to be added]