Skip to content
This repository was archived by the owner on Jul 12, 2021. It is now read-only.

nezorflame/opengapps-mirror-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opengapps-mirror-bot Go Report Card Build Status

This is a Telegram bot which allows you to create a locally and remotely hosted mirrors for any existing OpenGApps package.

Requires Go 1.10+ for go modules support.

Based on a great tgbotapi package with the help of go-github package to browse Github repos.

Install

  1. Get the bot:
    go get github.com/nezorflame/opengapps-mirror-bot cd $GOPATH/src/github.com/nezorflame/opengapps-mirror-bot
  2. Install the dependencies and the bot itself:
    • with vgo:
    export GO111MODULE=on go install

Usage

Flags

Flag Type Description Default
config string Config file name (without extension) config

Config

Example configuration can be found in config.example.toml

Local and remote mirroring can be switched on/off by entering/removing the parameters gapps.local_url/gapps.remote_url from config.

Local hosting also requires parameter gapps.local_path

Available commands

Command Description
mirror Searches for a OpenGApps package and creates a mirror for it
help Prints the help message

/mirror command format

Targets should be put after the /mirror command with space character between them.

  • platform: arm|arm64|x86|x86_64
  • Android version: 4.4...9.0
  • package variant: pico|nano|micro|mini|full|stock|super|aroma|tvstock
  • (optional) date of the release: YYYYMMDD

About

Telegram bot, which provides OpenGApps package mirrors

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •