Giter Site home page Giter Site logo

akri16 / pumpme Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 20 KB

Build any Android project on GitHub with the click of a button

Home Page: https://polite-mud-06bab8710.1.azurestaticapps.net/

HTML 44.08% CSS 10.98% JavaScript 44.94%
azure gradle azure-vm https certbot apk

pumpme's Introduction

API

Title

Pumpme - A website to instantly build apk from Android Projects on GitHub

Synopsis

Android apps are very common these days. A lot of developers across the world are building innovative open sources Android applications. Some of the top Android apps you can find on GitHub are Telegram, CoCoin, Signal. In order to build Android projects and get the .apk file that you can install on your phone, you need to clone the project, install Gradle on your computer, set up Android SDK, and then run Gradle on the project. For someone who’s not an android dev, this would be a cumbersome process.

Pumpme aims to solve this problem build performing these tasks in the cloud and providing you with the final .apk file. All you have got to do is type in the GitHub URL of the Android Project and wait for the apk to be built.

This is particularly useful for the judges in Hackathons. In Hackathons, judges have to evaluate a lot of projects in a very short time. In such a situation Pumpme will prove very useful to them as they can easily build the project and get the apk that they can then install on their phone to test and evaluate the app.

Architecture

Azure Cloud.png

  • The web app communicates with a FastAPI backend running on an Azure VM.
  • The VM has Gradle and the Android SDK setup
  • I used Certbot to generate LetsEncrypt certificates that are served by Uvicorn
  • The backend runs a script that kicks off a set of tasks that build the apk.

Steps to setup

  • Create an Ubuntu VM
  • Install HTTPS Certificates on it using Certbot
  • Install Java JDK 8 and 11 using sudo apt install openjdk-8-jdk openjdk-8-jre openjdk-11-jdk openjdk-11-jre
  • Install Android SDK using https://developer.android.com/studio/command-line
  • Set ANDROID_HOME, ANDROID_SDK_ROOT, JAVA_HOME
  • Copy backend files onto your home directory
  • Run uvicorn app.app:app --host 0.0.0.0 --port 443 --keyfile=./key.pem --certfile=./cert.pem

Issues

Some of the builds are failing because of:

  • Path issues
  • Gradle version issues

Tested URLs

  1. https://github.com/imShakil/BloodBank
  2. https://github.com/shubhamvernekar/SlideToGlitch
  3. https://github.com/swapnilsparsh/Covid-App
  4. https://github.com/ritik2410/My_Companion
  5. https://github.com/fari-zma/MyCamera
  6. https://github.com/fari-zma/MagnumFarizma
  7. https://github.com/vishwasganatra/voxRec
  8. https://github.com/ritik2410/My_Companion
  9. https://github.com/fari-zma/KoreanNumber
  10. https://github.com/blitz-cmd/Blood-Point-App

pumpme's People

Contributors

akri16 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.