Skip to content
hackintroPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Attack-Defense CTF Visualization

A real-time visualization dashboard for Attack-Defense Capture The Flag competitions, providing live attack monitoring, team leaderboards, and interactive network graphs.

Made by ethan42, deathwish24 and TRiLON

Features

  • Real-time Attack Visualization: Interactive network graph showing live attacks between teams
  • Dynamic Leaderboard: Live scoring and team rankings with performance metrics
  • Responsive Design: Optimized for desktop and mobile devices
  • Dark/Light Theme: Toggle between themes with persistent settings
  • Zoom & Pan: Interactive graph navigation with touch support for mobile
  • Service Status Monitoring: Visual indicators for service health and attacks

Tech Stack

  • Frontend: React 18 + Vite
  • Styling: Tailwind CSS + shadcn/ui components
  • Visualization: D3.js for interactive graphs
  • Routing: React Router DOM
  • State Management: React hooks with local storage persistence
  • Build Tool: Vite with TypeScript support

Installation

bun install

Development

Start the development server:

bun run dev

The application will be available at http://localhost:5173/ctf26/ (the app is served under the /ctf26/ base path to match its GitHub Pages URL).

Score data is read directly from the static JSON snapshots in public/data/ (latest.json plus one score{NNN}.json per window) — there is no backend.

Production

Build for production:

bun run build

This emits dist/, including a 404.html SPA fallback so deep links keep working on GitHub Pages.

Deployment

The site is published to GitHub Pages at https://hackintro.github.io/ctf26/ by the .github/workflows/publish.yml workflow on every push to main. Enable it once under the repo's Settings → Pages by setting the source to GitHub Actions.

Format code:

bun run format

Check formatting:

bun run format:check

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages