Tidak Ada Deskripsi

Mat B. a196269c6d chore/prune deps (#50) 1 bulan lalu
.github f1d5366b16 chore(notify-discord.yml): update comments from French to English for better clarity and consistency in the workflow file 1 bulan lalu
.vscode 254301174e chore: remove unused email components to clean up the codebase and reduce clutter 1 bulan lalu
app 0cc15f525a style/chronometer down the screen (#47) 1 bulan lalu
content 9ebe0a3f74 feat(about): replace text references to workout.lol with WorkoutLol component for consistency and improved styling (#32) 1 bulan lalu
data afa87ffc70 feat/step 3 (#6) 1 bulan lalu
emails 254301174e chore: remove unused email components to clean up the codebase and reduce clutter 1 bulan lalu
locales cb5f841cc6 feat(locales): update release notes for 2025 with new features and improvements in English and French (#31) 1 bulan lalu
prisma 1315cc5a50 feat(workout-session): implement delete workout session functionality with confirmation prompt and cascade delete in database 1 bulan lalu
public 0cc15f525a style/chronometer down the screen (#47) 1 bulan lalu
scripts 6aea06016e docs: update README with instructions for local development exercise import and add new prompt file for generating fitness exercises in CSV format 1 bulan lalu
src a196269c6d chore/prune deps (#50) 1 bulan lalu
.cursorrules 77b44b32e0 chore: first commit 1 bulan lalu
.env.example dbcb0f9390 feat: dockerfile for production deployment & improve dev workflow (#34) 1 bulan lalu
.gitignore a196269c6d chore/prune deps (#50) 1 bulan lalu
.npmrc 77b44b32e0 chore: first commit 1 bulan lalu
.prettierrc 77b44b32e0 chore: first commit 1 bulan lalu
CONTRIBUTING.md 4e93c88a6f docs: update CONTRIBUTING.md to enhance clarity on review process and contribution flow, and add a new pull request template for better consistency in submissions 1 bulan lalu
Dockerfile dbcb0f9390 feat: dockerfile for production deployment & improve dev workflow (#34) 1 bulan lalu
LICENSE 7ac6b16d47 chore: add MIT License file to clarify software usage rights and permissions 1 bulan lalu
Makefile 890f13cdc9 fix: missing db-generate script (#44) 1 bulan lalu
README.md d274136236 docs(README): update contribution guidelines for clarity and remove outdated sections on available attribute types and roadmap 1 bulan lalu
components.json 77b44b32e0 chore: first commit 1 bulan lalu
docker-compose.yml 83223c70da Feature/exercise video modal (#9) 1 bulan lalu
eslint.config.mjs 77b44b32e0 chore: first commit 1 bulan lalu
middleware.ts b48317d474 fix: only show unique options in set data additions (#46) 1 bulan lalu
next.config.ts a196269c6d chore/prune deps (#50) 1 bulan lalu
nextauth.d.ts 77b44b32e0 chore: first commit 1 bulan lalu
package.json a196269c6d chore/prune deps (#50) 1 bulan lalu
pnpm-lock.yaml a196269c6d chore/prune deps (#50) 1 bulan lalu
postcss.config.mjs 77b44b32e0 chore: first commit 1 bulan lalu
tailwind.config.ts f7fe725182 fix(i18n): correct French translation for "Quitter Sans Sauvegarder" to "Quitter sans sauvegarder" for consistency 1 bulan lalu
tsconfig.json 14a9047b1c chore(layout): remove Facebook Pixel integration and related files to streamline the codebase and reduce dependencies (#33) 1 bulan lalu

README.md

Workout.cool Logo

Workout.cool

Modern fitness coaching platform with comprehensive exercise database

Contributors Forks Stars Issues Languages Repository Size Discord MIT License

Table of Contents

Contributors

About

A comprehensive fitness coaching platform that allows create workout plans for you, track progress, and access a vast exercise database with detailed instructions and video demonstrations.

🎯 Project Origin & Motivation

This project was born from a personal mission to revive and improve upon a previous fitness platform. As the primary contributor to the original workout.lol project, I witnessed its journey and abandonment. 🥹

The Story Behind workout.cool

  • 🏗️ Original Contributor: I was the main contributor to workout.lol
  • 💼 Business Challenges: The original project faced major hurdles with exercise video partnerships (no reliable video provider) could be established
  • 💰 Project Sale: Due to these partnership issues, the project was sold to another party
  • 📉 Abandonment: The new owner quickly realized that exercise video licensing costs were prohibitively expensive, began to be sick and abandoned the entire project
  • 🔄 Revival Attempts: For the past 9 months, I've been trying to reconnect with the new stakeholder
  • 📧 Radio Silence: Despite multiple (15) attempts, there has been no response
  • 🚀 New Beginning: Rather than let this valuable work disappear, I decided to create a fresh, modern implementation

Why workout.cool Exists

Someone had to step up.

The opensource fitness community deserves better than broken promises and abandoned platforms.

I'm not building this for profit.

This isn't just a revival : it's an evolution. workout.cool represents everything the original project could have been, with the reliability, modern approach, and maintenance that the fitness open source community deserves.

👥 From the Community, For the Community

I'm not just a developer : I'm a user who refused to let our community down.

I experienced firsthand the frustration of watching a beloved tool slowly disappear. Like many of you, I had workouts saved, progress tracked, and a routine built around the platform.

My Mission: Rescue & Revive.

If you were part of the original workout.lol community, welcome back! If you're new here, welcome to the future of fitness platform management.

Quick Start

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/Snouzy/workout-cool.git
    cd workout-cool
    
  2. Install dependencies

    pnpm install
    
  3. Copy environment variables

    cp .env.example .env
    
  4. Start everything for development:

    make dev
    
    • This will start the database in Docker, run migrations, seed the DB, and start the Next.js dev server.
    • To stop services run make down
  5. Open your browser Navigate to http://localhost:3000

Exercise Database Import

The project includes a comprehensive exercise database. To import a sample of exercises:

Prerequisites for Import

  1. Prepare your CSV file

Your CSV should have these columns:

id,name,name_en,description,description_en,full_video_url,full_video_image_url,introduction,introduction_en,slug,slug_en,attribute_name,attribute_value

You can use the provided example.

Import Commands

# Import exercises from a CSV file
pnpm run import:exercises-full /path/to/your/exercises.csv

# Example with the provided sample data
pnpm run import:exercises-full ./data/sample-exercises.csv

CSV Format Example

id,name,name_en,description,description_en,full_video_url,full_video_image_url,introduction,introduction_en,slug,slug_en,attribute_name,attribute_value
157,"Fentes arrières à la barre","Barbell Reverse Lunges","<p>Stand upright...</p>","<p>Stand upright...</p>",https://youtube.com/...,https://img.youtube.com/...,slug-fr,slug-en,TYPE,STRENGTH
157,"Fentes arrières à la barre","Barbell Reverse Lunges","<p>Stand upright...</p>","<p>Stand upright...</p>",https://youtube.com/...,https://img.youtube.com/...,slug-fr,slug-en,PRIMARY_MUSCLE,QUADRICEPS

Want unlimited exercise for local development ?

Just ask chatGPT the prompt from ./scripts/import-exercises-with-attributes.prompt.md

Project Architecture

This project follows Feature-Sliced Design (FSD) principles with Next.js App Router:

src/
├── app/ # Next.js pages, routes and layouts
├── processes/ # Business flows (multi-feature)
├── widgets/ # Composable UI with logic (Sidebar, Header)
├── features/ # Business units (auth, exercise-management)
├── entities/ # Domain entities (user, exercise, workout)
├── shared/ # Shared code (UI, lib, config, types)
└── styles/ # Global CSS, themes

Architecture Principles

  • Feature-driven: Each feature is independent and reusable
  • Clear domain isolation: sharedentitiesfeatureswidgetsapp
  • Consistency: Between business logic, UI, and data layers

Example Feature Structure

features/
└── exercise-management/
├── ui/ # UI components (ExerciseForm, ExerciseCard)
├── model/ # Hooks, state management (useExercises)
├── lib/ # Utilities (exercise-helpers)
└── api/ # Server actions or API calls

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Workflow

  1. Create an issue for the feature/bug you want to work on
  2. Assign yourself to the issue
  3. Fork the repository
  4. Create a feature branch (git checkout -b feature/amazing-feature)
  5. Make your changes following our code standards
  6. Commit your changes (git commit -m 'feat: add amazing feature')
  7. Push to the branch (git push origin feature/amazing-feature)
  8. Open a Pull Request (one issue = one PR)
  9. Address review comments promptly

📋 For complete contribution guidelines, see our Contributing Guide

Code Style

  • Follow TypeScript best practices
  • Use Feature-Sliced Design architecture
  • Write meaningful commit messages
  • Add tests for new features

Deployment

Using Docker

# Build the Docker image
docker build -t yourusername/workout-cool .

# Run the container
docker run -p 3000:3000 --env-file .env.production yourusername/workout-cool

Manual Deployment

# Build the application
pnpm build

# Run database migrations
export DATABASE_URL="your-production-db-url"
npx prisma migrate deploy

# Start the production server
pnpm start

Resources

License

This project is licensed under the MIT License. See the LICENSE file for details.

MIT License

🤝 Join the Rescue Mission

This is about rebuilding what we lost, together.

How You Can Help

  • 🌟 Star this repo to show the world our community is alive and thriving
  • 💬 Join our Discord to connect with other fitness enthusiasts and developers
  • 🐛 Report issues you find. I'm listening to every single one
  • 💡 Share your feature requests finally, someone who will actually implement them !
  • 🔄 Spread the word to fellow fitness enthusiasts who lost hope
  • 🤝 Contribute code if you're a developer : let's build this together

💖 Sponsor This Project

Appear in the README and on the website as supporter by donating:

Sponsor on Ko-fi    

If you believe in open-source fitness tools and want to help this project thrive,
consider buying me a coffee ☕ or sponsoring the continued development.

Your support helps cover hosting costs, exercise database updates, and continuous improvement.
Thank you for keeping workout.cool alive and evolving 💪

```