Building from Source
For developers who want to modify Pankha Fan Control or contribute to development.
Prerequisites
Section titled “Prerequisites”- Git
- Docker and Docker Compose
- Node.js 20+ (for local development)
- Rust toolchain (for Linux agent)
- .NET 8 SDK (for Windows agent)
Clone Repository
Section titled “Clone Repository”git clone https://github.com/Anexgohan/pankha.gitcd pankhaBuild Docker Image
Section titled “Build Docker Image”Build locally instead of pulling from Docker Hub:
docker compose build --no-cachedocker compose up -dDevelopment Mode
Section titled “Development Mode”The repository is an npm workspaces monorepo - install once at the root:
npm installnpm run dev # both: frontend (5173, hot reload) + backend (3000)
# or individually:npm run dev:frontendnpm run dev:backend
# checksnpm run typechecknpm run lintBuild Agents
Section titled “Build Agents”Linux Agent (Rust)
Section titled “Linux Agent (Rust)”cd agents/clients/linux/rustcargo build --releaseIPMI Agent (Rust)
Section titled “IPMI Agent (Rust)”cd agents/clients/linux/virtual-agents/host-ipmi-rustcargo build --releaseWindows Agent (.NET 8)
Section titled “Windows Agent (.NET 8)”cd agents/clients/windows/varient-c.\build.ps1 -Menu # Interactive menu# OR.\build.ps1 -Clean -Publish -BuildInstaller# Output: publish/win-x64/installer/pankha-agent-windows_x64.msiContributing
Section titled “Contributing”- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
See the main repository for contribution guidelines.