Skip to content
mauricPublic

About

Un agente que te ayude a seguir y medir tu progreso en función de lo que cada uno le da valor.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Tinergy ⚡

Move. Earn. Own.

Tinergy is a revolutionary fitness tracking application that tokenizes human energy through the Proof of Energy model. Transform your physical effort into verifiable digital value—every movement counts, every workout belongs to you.

Tinergy

🌟 Vision

Tinergy connects body, purpose, and technology by creating an economy where physical activity generates real digital value. Each workout is certified on blockchain, creating a transparent and verifiable record of your fitness journey.

✨ Features

🏋️ Workout Tracking

  • Exercise Logger: Record your workouts with detailed information (sets, reps, weight)
  • Energy Calculation: Automatic conversion of physical effort into Energy Tokens using the formula: Energy = sets × reps × (weight + 1)
  • Multiple Exercise Types: Support for strength training, cardio, and custom exercises
  • Real-time Tracking: Live energy preview as you add exercises

📊 Dashboard & Analytics

  • Interactive Charts: Visualize your progress with beautiful charts powered by Recharts
  • Weekly/Monthly Stats: Track your Energy generation over time
  • Recent Activity: Quick view of your latest workouts
  • Achievement Progress: See how close you are to unlocking new NFTs

🏆 NFT Achievement System

  • Unique NFTs: Unlock collectible NFT achievements as you reach milestones
  • Energy Rewards: Earn bonus Energy Tokens for completing achievements
  • Progress Tracking: Visual progress bars for locked achievements
  • Multiple Categories: Achievements for consistency, total workouts, Energy accumulation, and more

📈 Progress Tracking

  • Time-based Filtering: View stats by week, month, or all-time
  • Exercise Analytics: See which exercises generate the most Energy
  • Consistency Metrics: Track active days, streaks, and activity rates
  • Workout Frequency: Bar charts showing training patterns

👤 Profile & Stats

  • Comprehensive Statistics: Total Energy, workouts, active days, and more
  • Lifetime Metrics: Total weight lifted, exercise count, activity rate
  • Favorite Exercises: See your most performed exercises
  • Recent Activity: Complete workout history with detailed breakdowns
  • Blockchain Integration: Wallet address and Proof of Energy certification

🛠️ Technology Stack

Frontend

Development Tools

  • Package Manager: pnpm
  • Linting: ESLint
  • Type Checking: TypeScript 5

Deployment

  • Analytics: Vercel Analytics
  • Hosting: Optimized for Vercel deployment

🚀 Getting Started

Prerequisites

  • Node.js 18.17 or later
  • pnpm (recommended) or npm

Installation

  1. Clone the repository

    git clone https://github.com/mauric/tinergy.git
    cd tinergy
  2. Install dependencies

    pnpm install
    # or
    npm install
  3. Run the development server

    pnpm dev
    # or
    npm run dev
  4. Open your browser Navigate to http://localhost:3000

Build for Production

pnpm build
pnpm start

📁 Project Structure

tinergy/
├── app/                      # Next.js App Router
│   ├── globals.css          # Global styles and custom CSS
│   ├── layout.tsx           # Root layout with metadata
│   └── page.tsx             # Main application entry point
├── components/              # React components
│   ├── ui/                  # shadcn/ui components
│   │   ├── badge.tsx
│   │   ├── button.tsx
│   │   ├── card.tsx
│   │   ├── input.tsx
│   │   ├── progress.tsx
│   │   ├── select.tsx
│   │   ├── tabs.tsx
│   │   └── ...
│   ├── achievements.tsx     # NFT achievements display
│   ├── dashboard.tsx        # Main dashboard with stats
│   ├── header.tsx           # Navigation header
│   ├── landing-page.tsx     # Marketing landing page
│   ├── login-modal.tsx      # Authentication modal
│   ├── profile.tsx          # User profile and stats
│   ├── progress.tsx         # Progress tracking and charts
│   ├── theme-provider.tsx   # Dark/light theme support
│   └── workout-tracker.tsx  # Exercise tracking interface
├── hooks/                   # Custom React hooks
│   └── use-toast.ts        # Toast notification hook
├── lib/                     # Utility functions
│   └── utils.ts            # Helper functions
├── types/                   # TypeScript type definitions
│   └── index.ts            # Workout, Exercise, Achievement types
├── public/                  # Static assets
├── components.json          # shadcn/ui configuration
├── next.config.mjs         # Next.js configuration
├── tailwind.config.ts      # Tailwind CSS configuration
├── tsconfig.json           # TypeScript configuration
└── package.json            # Dependencies and scripts

🎯 Core Concepts

Proof of Energy

Tinergy implements a Proof of Energy model where physical activity is converted into verifiable digital tokens. Each workout is calculated based on the intensity and volume of exercises performed:

Energy = sets × reps × (weight + 1)

This formula ensures that:

  • Bodyweight exercises generate Energy (weight + 1 accounts for bodyweight)
  • Heavier weights generate proportionally more Energy
  • Volume (sets × reps) is properly rewarded

Blockchain Integration

While currently in demo mode, Tinergy is designed to integrate with blockchain technology to:

  • Certify Energy Tokens on-chain
  • Mint NFT achievements as unique collectibles
  • Provide true ownership of fitness data
  • Enable potential token trading and ecosystem integration

🎨 Features in Detail

Landing Page

  • Compelling hero section with value proposition
  • "How It Works" section explaining the 4-step process
  • Benefits showcase highlighting value, motivation, and transparency
  • Team introduction
  • Call-to-action sections

Dashboard

  • Energy Token balance with gradient styling
  • Weekly/monthly statistics
  • Interactive area chart showing Energy generation
  • Recent workout list
  • Achievement progress indicators

Workout Tracker

  • Exercise selection dropdown with common exercises
  • Input fields for sets, reps, and weight
  • Real-time Energy preview
  • Session summary with total Energy
  • Save functionality with toast notifications

Progress Page

  • Time range filters (7 days, 30 days, all time)
  • Energy evolution line chart
  • Workout frequency bar chart
  • Top exercises by Energy generation
  • Consistency metrics (active days, streaks, activity rate)

Achievements Page

  • Unlocked achievements displayed as premium NFT cards
  • Locked achievements showing progress bars
  • Energy rewards for each achievement
  • NFT-style visual design with gradients and effects

Profile Page

  • User avatar and membership information
  • Comprehensive lifetime statistics
  • Top 5 favorite exercises
  • Recent activity timeline
  • Blockchain wallet information

👥 Team

Tinergy is built with passion, knowledge, and purpose by:

  • Fede - Software Developer | Transforms ideas into technology, building Tinergy's technical foundation
  • Fabri - Project Manager & Finance | Brings strategy and sustainability to the project
  • Mauric - Mechatronics Engineer | Creator of the vision to tokenize human energy to improve lives

🌐 Deployment

This project is optimized for deployment on Vercel:

Deploy with Vercel

📝 Scripts

# Development
pnpm dev          # Start development server

# Production
pnpm build        # Build for production
pnpm start        # Start production server

# Code Quality
pnpm lint         # Run ESLint

🎨 Design System

Tinergy uses a custom design system with:

  • Primary Color: Electric blue gradient (oklch(0.58 0.19 252))
  • Secondary Color: Purple gradient (oklch(0.58 0.22 295))
  • Accent Color: Green (oklch(0.85 0.18 166))
  • Dark Mode: Default theme with dark class
  • Custom Gradients:
    • gradient-electric: Primary to secondary
    • gradient-energy: Accent-based gradient

🔮 Future Roadmap

  • Real blockchain integration (Ethereum/Polygon)
  • Wearable device integration (Apple Watch, Fitbit, etc.)
  • Social features and leaderboards
  • Marketplace for NFT achievements
  • Token staking and rewards
  • Community challenges and competitions
  • Mobile app (React Native)
  • Multi-language support

📄 License

This project is currently private. Please contact the team for licensing information.

🤝 Contributing

Tinergy is currently in private development. If you're interested in contributing or learning more, please reach out to the team.

📧 Contact

For questions, suggestions, or collaboration opportunities:


Energy is the new currency ⚡

Built with ❤️ by the Tinergy Team

About

Un agente que te ayude a seguir y medir tu progreso en función de lo que cada uno le da valor.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages