A comprehensive EVE Online operations hub built with Next.js 16 for Tactical Narcotics Division corporation members. Access real-time market data, plan routes, analyze assets, and manage pilot intelligenceβall in one terminal.
- System Lookup - Intelligence gathering on specific systems
- Route Planner - Optimized path calculation for travel
- Ship Fitting - EVE fitting browser and optimizer
- Player Lookup - Character intelligence and history
- Corporation Lookup - Corp statistics and member analysis
- Local Check - Real-time local system monitoring
- Asset Analysis - Comprehensive portfolio evaluation
- Market Analysis - Price trends and market data
- Market Browser - Item browsing and comparison
- Price Check - Bulk ISK valuation
- Price Comparison - Multi-hub pricing
- Safe to Warp - Security status analysis
- EVE Online SSO - Official EVE Portal OAuth integration
- Mock Mode - Development without EVE credentials (perfect for testing!)
- Framework: Next.js 16.0.4 (with Turbopack)
- Language: TypeScript 5.9
- UI Framework: React 19.2 + TailwindCSS 4.1
- Authentication: NextAuth.js 5.0
- Components: Radix UI with custom styling
- Data: EVE Online ESI API + Custom SDKs
- Node.js 18+
- npm or yarn
# Clone the repository
git clone https://github.com/xsi-sh/tnd.corpsite.git
cd tnd.corpsite
# Install dependencies
npm installMock mode allows you to run the entire site without EVE Online authentication:
# .env.local is already created with mock settings
npm run devThe site will auto-login with test data. Access at http://localhost:3000
Mock mode includes:
- Simulated EVE character data
- Realistic wallet and asset information
- Mock market prices
- Skill point data
- All features functional with test data
# Edit .env.local
NEXT_PUBLIC_MOCK_MODE=false
EVE_CLIENT_ID=your_client_id
EVE_CLIENT_SECRET=your_client_secret
AUTH_SECRET=your_secret
# Get credentials from https://developers.eveonline.com/applications
npm run devThe main dashboard displays character information, wallet balance, active ship, skill points, and important financials at a glance.
Comprehensive market analysis tools with price trends, volume data, and trading opportunities across multiple regional hubs.
Full portfolio tracking with asset valuation, location tracking, and wealth breakdown across all character locations.
In-depth system intelligence including security status, NPC stations, jump gates, and strategic location information.
Intuitive navigation menu with quick access to all major tools and features for tactical operations.
src/
βββ app/ # Next.js App Router
β βββ (app)/ # Protected application routes
β β βββ assets/ # Asset analysis page
β β βββ market/ # Market analysis page
β β βββ player-lookup/ # Player intel page
β β βββ system-lookup/ # System intel page
β β βββ ... # Other tools
β βββ api/ # API endpoints
β β βββ assets/route.ts
β β βββ market/route.ts
β β βββ ...
β βββ login/ # Authentication page
β βββ layout.tsx # Root layout
βββ components/ # React components
β βββ Dashboard.tsx # Main dashboard component
β βββ LoginButton.tsx # Auth button component
β βββ evefit/ # EVE fitting components
β βββ magic/ # Animated UI components
β βββ ui/ # Reusable UI library
βββ lib/ # Utilities & SDKs
β βββ esi-sdk/ # EVE Online ESI SDK
β β βββ client.ts # API client
β β βββ types.ts # Type definitions
β β βββ index.ts
β βββ mockData.ts # Mock data for testing
β βββ types/ # Domain-specific types
β β βββ esi.ts
β β βββ market.ts
β β βββ player-intel.ts
β β βββ corp-intel.ts
β β βββ ...
β βββ utils/ # Helper functions
βββ auth.ts # NextAuth configuration
βββ proxy.ts # API proxy
data/ # Static game data
βββ items.json
βββ systems.json
βββ stargates.json
βββ corporations.json
βββ alliances.json
esi-docs/ # EVE ESI documentation
Create a .env.local file in the root directory:
# EVE Online OAuth (get from https://developers.eveonline.com/applications)
EVE_CLIENT_ID=your_app_id
EVE_CLIENT_SECRET=your_app_secret
AUTH_SECRET=your_auth_secret_32_chars_min
# Mock Mode (for development without EVE credentials)
NEXT_PUBLIC_MOCK_MODE=true
# Optional
NEXT_PUBLIC_ESI_USER_AGENT=TacticalNarcoticsDivision/1.0.0# Build for production
npm run build
# Start production server
npm start
# Lint code
npm run lint- Player and corp history lookups
- Security status analysis
- Standing evaluation
- Kill/loss history tracking
- Member database searches
- Real-time price aggregation across hubs
- Market order management
- Profit margin analysis
- Bulk ISK valuation
- Price comparison across regions
- Jump gate pathfinding
- Avoidance route planning
- Security corridor mapping
- System intel integration
- Travel time calculation
- Full portfolio tracking
- Location summary and grouping
- Value estimation and ROI
- Container asset trees
- Wealth breakdown by location
- EVE Online fitting browser
- Ship configuration import/export
- Damage calculations
- Skill requirement analysis
- Server-side token management
- No credentials stored client-side
- OAuth 2.0 with EVE Portal
- Secure session handling
- CSRF protection enabled
- Environment variable encryption
MIT License - See LICENSE file for details
Contributions are welcome! Please feel free to submit pull requests or open issues on GitHub.
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
For issues, questions, or suggestions, please open an issue on the GitHub repository.
- EVE Online Official Site
- EVE Online ESI Documentation
- NextAuth.js Documentation
- Next.js Documentation
Built with β€οΈ for EVE Online pilots
Tactical Narcotics Division - Your trusted source for capsuleer operations





