A comprehensive web dashboard for managing distributed computational tasks, workers, and resources for Mitosis platform. Built with Astro and React, providing an intuitive interface for task submission, monitoring, and system administration.
See the Mitosis documentation and Mitosis repository for more details.
- Task Management: Submit, query, monitor, and cancel computational tasks
- Worker Management: Monitor and manage computational workers
- User & Group Management: Handle user authentication and group permissions
- File Management: Upload, download, and manage task attachments and artifacts
- Admin Controls: System administration tools for managing users, groups, and workers
- Real-time Monitoring: Live updates on task and worker status
Inside of this Astro project, you'll see the following folders and files:
/
├── public/
├── src/
│   ├── components/          # React components
│   │   ├── admin/          # Admin management components
│   │   ├── artifacts/      # Artifact management components
│   │   ├── attachments/    # Attachment management components
│   │   ├── groups/         # Group management components
│   │   ├── tasks/          # Task management components
│   │   ├── users/          # User management components
│   │   └── workers/        # Worker management components
│   ├── pages/              # Astro pages
│   ├── styles/             # CSS styles
│   ├── types/              # TypeScript type definitions
│   └── utils/              # Utility functions
└── package.json
Before deploying, ensure you have:
- Node.js (version 18 or higher)
- npm or yarn package manager
- Access to a Mitosis coordinator server
- Clone the repository:
git clone <repository-url>
cd mitosis-dashboard- Install dependencies:
npm install- Start the development server:
npm run devThe dashboard will be available at http://localhost:4321
All commands are run from the root of the project:
| Command | Action | 
|---|---|
| npm install | Installs dependencies | 
| npm run dev | Starts local dev server at localhost:4321 | 
| npm run build | Build your production site to ./dist/ | 
| npm run preview | Preview your build locally, before deploying | 
| npm run lint | Run ESLint to check code quality | 
| npm run lint:fix | Fix linting issues automatically | 
| npm run format | Format code with Prettier | 
| npm run format:check | Check code formatting | 
- Create a production build:
npm run build- The built files will be available in the ./dist/directory.
The project is configured with @astrojs/node adapter for server-side rendering:
- Build the project:
npm run build- Start the production server:
node ./dist/server/entry.mjsUse the Dockerfile under the root.
Build and run:
docker build -t mitosis-dashboard .
docker run -d -p 4321:4321 mitosis-dashboardThe dashboard connects to a Mitosis coordinator server. Configure the connection through the login interface or set up environment variables as needed for your deployment.
- Frontend Framework: Astro + React
- Styling: Tailwind CSS
- Language: TypeScript
- Build Tool: Vite (via Astro)
- Code Quality: ESLint + Prettier