Skip to content

About

A control panel for controlling and testing Astromech droids

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Astromech Control Panel

A Next.js application for controlling Astromech components.

Setup

  1. Install dependencies:
npm install
  1. Create a .env.local file with:
NEXT_PUBLIC_API_URL=http://pi:3030
  1. Run the development server:
npm run dev

Features

  • Servo Control
  • Audio Playback
  • Controller Status Monitoring
  • Real-time Updates

Tech Stack

  • Next.js 14
  • TypeScript
  • Tailwind CSS
  • shadcn/ui
  • Axios

API Endpoints

  • GET /api/servos - List all servos
  • POST /api/servos/{name}/move - Move a servo
  • GET /api/controllers - List all controllers
  • GET /api/audio - List audio files
  • POST /api/audio/play - Play audio file

About

A control panel for controlling and testing Astromech droids

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages