opengapps-mirror-bot

command module
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2020 License: MIT Imports: 14 Imported by: 0

README

opengapps-mirror-bot CircleCI Go Report Card GolangCI FOSSA 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

This project uses Go modules. To install it, starting with Go 1.12 you can just use go get:

go get opengapps-mirror-bot

or

go install opengapps-mirror-bot

Also you can just clone this repo and use the build/install targets from Makefile.

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

License

FOSSA Status

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg
net
gapps Module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL