All Projects → fxaguessy → gplayweb

fxaguessy / gplayweb

Licence: other
GPlayWeb: A Web interface for GPlayCli

Projects that are alternatives of or similar to gplayweb

Play
Play something while waiting for your command to finish
Stars: ✭ 169 (+634.78%)
Mutual labels:  play
Droid-ify
F-Droid client with Material UI.
Stars: ✭ 1,048 (+4456.52%)
Mutual labels:  fdroid
taskw-dart
Taskwarrior-inspired mobile todo app
Stars: ✭ 58 (+152.17%)
Mutual labels:  fdroid
Play2 Hands On
Play2 + Slick / ScalikeJDBCを使ってWebアプリケーションを作成するハンズオンです。
Stars: ✭ 183 (+695.65%)
Mutual labels:  play
MaterialTeaTimer
A material tea-timer for android
Stars: ✭ 35 (+52.17%)
Mutual labels:  fdroid
whatsapp-bot
Piyobot adalah whatsapp bot pintar
Stars: ✭ 124 (+439.13%)
Mutual labels:  play
Playframework
Play Framework
Stars: ✭ 12,041 (+52252.17%)
Mutual labels:  play
becquerel
Gateway server that provides an OData interface to BigQuery and Elasticsearch
Stars: ✭ 17 (-26.09%)
Mutual labels:  play
KanColle-English-Patch-KCCP
English Patch for the original KanColle browser game, to be used with KCCacheProxy. Translates most of the game into english.
Stars: ✭ 28 (+21.74%)
Mutual labels:  play
gba-remote-play
Stream Raspberry Pi games to a GBA via Link Cable
Stars: ✭ 356 (+1447.83%)
Mutual labels:  play
Boombeastic
A Raspberry Pi based smart connected speaker with support for airplay, spotify, mpd and local playback
Stars: ✭ 195 (+747.83%)
Mutual labels:  play
Lagom
Reactive Microservices for the JVM
Stars: ✭ 2,590 (+11160.87%)
Mutual labels:  play
play-ebean
Play Ebean module
Stars: ✭ 29 (+26.09%)
Mutual labels:  play
Render Media
Intelligently render media files in the browser
Stars: ✭ 181 (+686.96%)
Mutual labels:  play
airmessage-android
AirMessage for Android phones, tablets, and laptops
Stars: ✭ 94 (+308.7%)
Mutual labels:  fdroid
Discord Player
🎧 Complete framework to simplify the implementation of music commands using discords.js v12
Stars: ✭ 161 (+600%)
Mutual labels:  play
play-docker-aws-tutorial
101 tutorial: How to deploy Play application to Amazon Lightsail (AWS) using Docker
Stars: ✭ 25 (+8.7%)
Mutual labels:  play
coin-map-android
Easily find places to spend sats anywhere on the planet
Stars: ✭ 23 (+0%)
Mutual labels:  fdroid
boombeastic
A Raspberry Pi based smart connected speaker with support for airplay, spotify, mpd and local playback
Stars: ✭ 206 (+795.65%)
Mutual labels:  play
apkup
🚀 Publish APKs to Google Play directly from the terminal
Stars: ✭ 33 (+43.48%)
Mutual labels:  play

GPlayWeb: A Web interface for GPlayCli

Original work of @matlink forked to use latest versions of fdroid and gplaycli and providing a Dockerfile for easy install.

Docker install (gplayweb + fdroid)

First, install docker.

Then, to use the last version of container on dockerhub:

docker run --name gplayweb -p 127.0.0.1:8888:8888 fxaguessy/gplayweb

You can also build the container yourself

docker build -t gplayweb .

Then run it

docker run --name gplayweb -p 127.0.0.1::8888:8888 gplayweb

To preserve gplayweb and fdroid data, mount a local folder as docker volume:

docker run --name gplayweb -p 127.0.0.1:8888:8888 -v ~/fdroid/:/data/fdroid fxaguessy/gplayweb

Then, you may want to expose your (static) fdroid repo using a nginx container

docker run --name fdroid-nginx -p 8080:80 -v ~/fdroid/repo:/usr/share/nginx/html:ro nginx

As a result, you can access gplayweb on localhost and the fdroid repository on your.ip.address:8080.

Installation (consider using a virtualenv)

For both methods, you'll need those packages

# apt-get install python-dev python-pip libffi-dev

pip method

Use pip install gplayweb to install it. If you got a SandboxViolation for gplaycli, install it before with pip install gplaycli. After that, rename /etc/gplayweb/gplayweb.conf.example to /etc/gplayweb/gplayweb.conf and change parameters.

git method

  • Clone this repo:

      $ git clone https://github.com/fxaguessy/gplayweb
    
  • Install gplayweb requirements with pip :

      $ pip install -r requirements.txt
    
  • Copy gplayweb.conf.example to gplayweb.conf and change the settings (you can comment unwanted lines out with #)

  • If you plan to add compatibility with F-Droid repo, ensure to uncomment the two config variables fdroid_repo_dir and fdroid_exec.

Usage

$ ./gplayweb -h
usage: gplayweb.py [-h] [-c CONF_FILE]

A web interface for GPlayCli

optional arguments:
  -h, --help            show this help message and exit
  -c CONF_FILE, --config CONF_FILE
                        Use a different config file than gplayweb.conf

FDroid Compatibility

Based on https://f-droid.org/wiki/page/Installing_the_Server_and_Repo_Tools python-imaging may be needed to update FDroid repository, don't forget to install it.

  • create user gplayweb : adduser gplayweb --disabled-password

  • go to /opt directory : cd /opt

  • get android SDK : wget https://dl.google.com/android/android-sdk_r24.3.4-linux.tgz

  • untar it : tar xvfz android-sdk_r24.3.4-linux.tgz

  • give it to gplayweb : chown gplayweb android-sdk-linux -R

  • put ANDROID_HOME env variable to your .bashrc : echo export ANDROID_HOME=/opt/android-sdk-linux >> ~/.bashrc

  • put android tools to your PATH variable : echo 'export PATH=$PATH:$ANDROID_HOME/tools' >> ~/.bashrc

  • reload .bashrc : source ~/.bashrc

  • if you don't have java (java -version) : apt-get install openjdk-7-jdk

  • install Android 22 SDK : android update sdk --no-ui -a --filter 4

  • install platform-tools : android update sdk --no-ui --filter platform-tools

  • clone fdroidserver : cd /opt && git clone https://gitlab.com/fdroid/fdroidserver.git && cd fdroidserver

  • install fdroidserver : sudo apt-get install fdroidserver

  • go to the folder where you want to host your fdroid repo : cd /opt/fdroid/

  • give it to gplayweb : chown gplayweb . -R

  • for android aapt to work, you need these packages : apt-get install lib32stdc++6 lib32z1

  • initialize fdroid repo : fdroid init

  • then in /etc/gplayweb/gplayweb.conf :

    folder=/opt/fdroid/repo

    fdroid_repo_dir=/opt/fdroid

    fdroid_exec=/usr/local/bin/fdroid

LSB script

It might still be a bit buggy. Change USER for the user which will run the daemon (gplayweb in this example), and ANDROID_SDK for the path of the android-sdk you have configured earlier (/opt/android-sdk-linux in this example).

$ /etc/init.d/gplayweb {start|stop|restart|status}

Please me hard enough if you want a systemd unit :D

Uninstall

Use pip uninstall gplayweb, and remove conf, templates and static files with rm -rf /etc/gplayweb /usr/share/gplayweb. Should be clean, except python dependancies for gplayweb and gplaycli.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].