Skip to content
/ moni Public

Desktop app using wails golang with bitget golang sdk v2

Notifications You must be signed in to change notification settings

s4mn0v/moni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moni

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.

Features

  • 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 cron for background scheduling (specific tasks not detailed in app.go but indicated by dependencies).

Technologies Used

  • 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 pnpm for package management and build processes.)
    • pnpm: Package manager for frontend dependencies.

Project Structure

  • 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/ws for 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.

Setup and Running

Prerequisites

  • Go (version 1.23 or higher)
  • Wails CLI (wails doctor to ensure everything is set up correctly)
  • pnpm (for frontend dependencies)

Installation

  1. Clone the repository:

    git clone https://github.com/s4mn0v/moni.git # Assuming a GitHub repository
    cd moni
  2. Install Frontend Dependencies:

    pnpm install

Running the Application

  • 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/bin directory.

Author

s4mn0v - s4m.n0v@gmail.com

About

Desktop app using wails golang with bitget golang sdk v2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published