Giter Club home page Giter Club logo

portalitems's Introduction

Portal Items

Portal Items is an Android app that is a companion app to Heimdall. This Android app loads all of the items that you have added to Heimdall and displays them in a list with a hyperlink to launch each Heimdall item in your browser for quick and easy quick access.

This app is made up of 2 parts

  • Portal-Backend: This is a Docker container which will get the items from Heimdall's database. This is accomplished by accessing Heimdall's database file app.sqlite.
  • Portal-Frontend: The Android app which displays the Heimdall Items. You can sideload the apk in the Releases section or build the app yourself.

This app works by you giving the Portal-Backend accesses to Heimdall's database file which reads the title and URL of all Heimdall items. In order to make sure that only you and no one else can access your own Heimdall items, you will set an AUTH_KEY on the backend that must be provided in the Android app in order for it to work.

Build Portal-Backend

  1. cd Portal-Backend
  2. Edit portalitems.yml and change YOURNETWORK and PATH_TO_HEIMDALL_DATA accordingly.
  3. Edit docker/portalitems.js and set AUTH_KEY with a secure password. It can be whatever you want but it is better to use a long key here.
  4. Build the Portal Items image: docker build docker/ -t portalitems:latest
  5. Build the Portal Items docker container: docker-compose -f portalitems.yml up -d

Build Portal-Frontend Android app

  1. cd Portal-Frontend
  2. npm install
  3. npm install -g @ionic/cli native-run cordova-res
  4. ionic build
  5. ionic cap copy
  6. ionic cap open android
  7. Android Studio should launch and open the Portal-Frontend Android app.
  8. You can now build an Android apk by going to Build-> Build Bundle(s) / APK(s) -> Build APK(s) or plug in an Android phone and install the app directly on your phone.
  9. When you launch the app, tap on the menu icon and paste the AUTH_KEY that you set above.

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.