Moni is a desktop application built with Wails and Go, designed to provide real-time monitoring of BTCUSDT ticker data from the Bitget cryptocurrency exchange.
- Real-time Data: Connects to the Bitget WebSocket API to receive live BTCUSDT ticker updates.
- Desktop Application: Built with Wails, providing a native desktop experience.
- Scheduled Tasks: Utilizes
cronfor background scheduling (specific tasks not detailed inapp.gobut indicated by dependencies).
- Go: The backend logic and Wails framework.
github.com/gorilla/websocket: For WebSocket communication with Bitget.github.com/robfig/cron: For handling scheduled tasks.github.com/wailsapp/wails/v2: The framework for building cross-platform desktop applications.go.uber.org/zap: A fast, structured logger.
- Frontend: (Details not fully determined, but uses
pnpmfor package management and build processes.)pnpm: Package manager for frontend dependencies.
moni/cmd: Application commands.moni/config: Configuration files.moni/frontend: Frontend source code and build output.moni/internal: Internal packages and utilities.moni/pkg: Publicly available packages (e.g.,client/wsfor Bitget WebSocket client).moni/logging: Application logging setup.moni/app.go: Main application logic, including WebSocket handling and frontend binding.moni/main.go: Wails application entry point.moni/wails.json: Wails project configuration.
- Go (version 1.23 or higher)
- Wails CLI (
wails doctorto ensure everything is set up correctly) - pnpm (for frontend dependencies)
-
Clone the repository:
git clone https://github.com/s4mn0v/moni.git # Assuming a GitHub repository cd moni
-
Install Frontend Dependencies:
pnpm install
-
Development Mode:
wails dev
This will run the application in development mode with hot-reloading for frontend changes.
-
Build for Production:
wails build
This will build a production-ready executable in the
build/bindirectory.
s4mn0v - s4m.n0v@gmail.com