This is a very simple "store" for Android applications. It is useful for serving customers who do not have access to traditional Android stores such as Google Play or Amazon Appstore, or for developers who do not wish to use those stores to distribute their products.
The previous version was a Django app, and the heritage shows!
This package can be installed using go get:
go get github.com/mathuin/androidapps
Change to the appropriate directory and build the app:
go build
The best/easiest way to configure this app is with environment variables.
export ANDROIDAPPS_DBFILE="androidapps.db"
export ANDROIDAPPS_HOST="0.0.0.0"
export ANDROIDAPPS_PORT="4000"
export ANDROIDAPPS_NAME="Jane Doe"
export ANDROIDAPPS_EMAIL="jane@example.net"
Sometimes environment variables just won't do. In those cases, use flags.
Flag | Meaning |
---|---|
-dbfile | Database file |
-host | Host |
-port | Port |
-name | Developer name |
Developer email |
Subcommand | Purpose | Arguments |
---|---|---|
runserver | Run the server | |
list | list products in database | string match? enabled? |
enable | enable product (will need flag added to database) | name |
disable | disable product (will need flag added to database) | name |
add | add product to database | APK file |
remove | remove product from database | name force? |
upgrade | upgrade product in database (upload new APK) | APK file |
At this time, very few commands are implemented. Please be patient. :-)
- Install the web stuff (static, media, templates) somewhere
- Add QR code support
This software is released under the MIT license.