A desktop application for streaming media to Chromecast devices using Wails and Go.
- Discover Chromecast devices on your network
- Stream local media files to Chromecast
- Manage playback with intuitive controls
- Support for HLS streaming (both automatic and manual modes)
- File explorer for easy media selection
- Real-time device status monitoring
- Go 1.21 or higher
- Node.js 16 or higher
- npm or yarn
- Wails CLI:
go install github.com/wailsapp/wails/v2/cmd/wails@latest
- Clone the repository (with submodules):
git clone --recursive https://github.com/SomeoneIsWorking/wails-cast.git
cd wails-cast- Install dependencies:
wails buildTo run in live development mode with hot reload:
wails devThis will start:
- A Vite development server for frontend hot reload
- The Go backend with live compilation
- A dev server on http://localhost:34115 for debugging
To build a production-ready application:
wails buildThe built application will be located in the build/bin/ directory.
app.go- Main application entry pointchromecast.go- Chromecast device managementdiscovery.go- Network device discoveryserver.go- HTTP server for media streaminghls_*.go- HLS streaming implementationsfrontend/- Vue.js frontend applicationgo-chromecast/- Go Chromecast library
Edit wails.json to configure project settings. For more information, see the Wails documentation.
MIT License - see LICENSE file for details
Contributions are welcome! Please feel free to submit a Pull Request.