Ampere is a modern desktop application template that combines Electron and Vite for frontend with Python and FastAPI for backend. This is a clean, versatile development environment, great for building high-performance, functional and cross platform desktop applications with a robust API layer.
Lightning-fast frontend development with hot module replacement
High-performance, easy-to-use backend API framework
Works on Windows, macOS, and Linux
Built-in debugging, linting, and testing setup
Full TypeScript support for type-safe development
Contains tasks for VSCode to setup with npm and uv
# Install ampere-cli globally
npm install -g ampere-cli
# Create a new project
ampere create my-awesome-app
# Navigate to project
cd my-awesome-app
# Start development
npm run dev
# Clone the repository
git clone https://github.com/SeamusMullan/ampere.git
cd ampere
# Setup frontend
cd frontend
npm install
# Setup backend
cd backend
uv sync
uv pip install -r requirements.txt
# Start the development environment
# run frontend
npm run dev
# run backend
uv run main.py
<project_name>
├── backend
│ ├── __pycache__
│ ├── api
│ ├── core
│ └── services
└── frontend
├── dist-electron
├── electron
├── node_modules
├── public
└── src
Ampere uses Electron as the application shell and embeds a Python FastAPI server that runs as a subprocess. The frontend communicates with the backend via HTTP requests, allowing for a clean separation of concerns while maintaining the performance benefits of local processing.
Get started today and supercharge your desktop application development!