Skip to content
Jx-studyPublic

About

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

CodePulse


程式與演算法視覺化教學平台

Visualize code. Understand algorithms. Learn by seeing.

License: MIT React Flask PostgreSQL Docker CI

Report Bug · Request Feature



Features

  • Algorithm Animation — Step-by-step visualization of sorting, searching, graph algorithms and more
  • Code Explorer — Paste any Python code and watch it execute line by line
  • Variable Snapshot — Real-time display of variable states and memory references
  • Knowledge Map — Interactive graph connecting algorithm concepts and prerequisites
  • AI Algorithm Detection — Automatically identifies the algorithm in your code (powered by Gemini API)
  • Progress Tracking — XP system, achievements, and leaderboard to keep you motivated

Tech Stack

Frontend

React Vite SCSS TypeScript D3.js

Backend

Python Flask PostgreSQL Docker


Getting Started

Prerequisites

Docker (recommended)

Local Development

Installation (Docker)

# 1. Clone the repo
git clone https://github.com/Jx-study/CodePulse.git
cd CodePulse

# 2. Set up environment variables
cp .env.example .env
# Edit .env: set DATABASE_URL and SECRET_KEY

# 3. Start with Docker
docker compose up

# Frontend → http://localhost:5173
# Backend  → http://localhost:5000

Windows users: Run docker-start.bat for an interactive startup script with smart build detection.

Local Development (without Docker)

# Frontend
cd frontend
npm install
npm run dev

# Backend (separate terminal)
cd backend
pip install -r requirements.txt
python app.py

Star History

Star History Chart


License

Distributed under the MIT License. See LICENSE for more information.

About

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages