Home

Awesome

Oblivion-Helper 🚀

Oblivion-Helper is a robust process management tool designed to manage the Sing-Box core for the Oblivion-Desktop application, providing seamless cross-platform support for Windows, macOS, and Linux.

<br> <div align="center">

Version Downloads Stars

Go gRPC Go Report Card Code Size Top Language

</div> <br>

🌟 Overview

Oblivion-Helper is a lightweight, high-performance process management utility built with Go and gRPC. It provides a reliable interface for controlling the Sing-Box core across multiple operating systems, ensuring smooth and efficient core management for the Oblivion-Desktop application.

✨ Features

🚀 Installation

Download Binaries

Download the latest release for your platform from the Releases Page.

Build from Source

Prerequisites

  1. Clone the repository:

    git clone https://github.com/ShadowZagrosDev/oblivion-helper.git
    cd oblivion-helper
    
  2. Initialize Go modules:

    go mod init oblivion-helper
    go mod tidy
    
  3. Generate Go files from the gRPC definitions:

    protoc --go_out=./ --go-grpc_out=./ ./proto/oblivion.proto
    
  4. Build the project:

    go build -o oblivion-helper ./cmd/main.go
    

📝 Configuration

Create a config.obv file in the same directory as the Oblivion-Helper binary.

{
    "sbConfig": "singbox-config.json",
    "sbBin": "sing-box"
}

Important:

All these files must be in the same directory for the helper to function correctly.

🔧 Usage

Run the helper with root privileges:

sudo ./oblivion-helper

Command-line options:

gRPC Client Interaction

The helper exposes a gRPC service with these methods:

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

Distributed under the MIT License. See the LICENSE for more information.


Made with ❤️ by ShadowZagrosDev