Client

Example Client App

You can use Ebook Homebrew Rest API for example client app.

Note

Examples App use ebook-homebrew demo heroku endpoint. If you use your own server, fork the code and change the backend URL.

Git clone Example app with :command:`git clone `:

$ git clone https://github.com/tubone24/ebook_homebrew.git
$ git submodule update --init --recursive

Stand Alone Web GUI

The basic WEB app which create PDF from your images built in the ebook-homebrew.

Install Flask and Execute commands below.

$ cd examples/web_gui/
$ pip install requirements.txt
$ cd src
$ python application.py

And Access localhost:8080

You can see The TOP page like blow. Click GO DEMO APP

_images/standalone-top.png

Choose Files, digits and extension. Click Create! and Downloading result.pdf

_images/standalone-choose-img.png

Command Line Tools with using Rest API

Client App with ebook-homebrew’s rest API interface. Install requests and docopt and Execute.

$ cd examples/use_rest_api/
$ pip install requirements.txt
$ cd src
$ python main.py -h

You can see the CLI’s Usage.

Android App

Warning

This app is created flutter, so you can build an Android app and an iOS app,

but I don’t try to build ios app, because I don’t have ios.

Demo client Native App for using ebook-homebrew.

Install Flutter SDK and Build App:

$ cd examples/ebook-homebrew-android-app
$ git clone -b beta https://github.com/flutter/flutter.git ~/flutter
$ cat YOUR_APP_KEY > android/app/apk_key.jks
$ cat YOUR_APP_PROPS > android/key.properties
$ ~/flutter/bin/flutter build apk --release --split-per-abi

Also you can use Demo app downloading to Deploy Gate

Or Download Google Play

Run App and Enjoy!

_images/flutter-android.gif

Web Front App (Vue.js)

Warning

ebook-homebrew-vue-client is Deprecated instead of ebook-homebrew-vue-typescript-client

If you want to use Web Front App, you can make reference of Example app building for Vue.js.

You can see 2 examples, Vue.js with Javascript or Vue.js with Typescript

Vue.js with Javascript

Vue.js with Typescript

Install Node.js and NPM and Execute it:

$ cd examples/ebook-homebrew-vue-typescript-client
$ npm install
$ npm run serve

Run App and Enjoy!

_images/vue-sample.gif