Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tubone24/ebook-homebrew-nim-client

The Nim library which use ebook-homebrew Rest API
https://github.com/tubone24/ebook-homebrew-nim-client

nim

Last synced: 1 day ago
JSON representation

The Nim library which use ebook-homebrew Rest API

Awesome Lists containing this project

README

        

# ebook-homebrew-nim-client

[![Actions Status](https://github.com/tubone24/ebook-homebrew-nim-client/workflows/Build%20and%20test%20Nim/badge.svg)](https://github.com/tubone24/ebook-homebrew-nim-client/actions)

> Make pdf file which you use e-books by take in some image files such as jpeg, png and gif.

# Setup

Use Nim and Nimble, so you should install nim (>=0.20.2)

```
$ nimble install -d
$ nimble build
```

## Release Build

If you would like to optimize build.

```
$ nimble build -d:release
```

# Run

## Build and Run

```
$ nimble run ebook_homebrew_nim_client
```

## Or Run builder binary

### for LINUX

```
$ ./bin/ebook_homebrew_nim_client
```

### for Windows

```
$ bin\ebook_homebrew_nim_client.exe
```

## Usage

```
Overview:
Client App with ebook-homebrew's rest API for Nim

Usage:
ebook_homebrew_nim_client status
ebook_homebrew_nim_client list
ebook_homebrew_nim_client convert [-o|--output=]

Options:
status Check API Status
list Check Result List
convert Upload Images, convert to PDF and download result.pdf
Specify directory with in images
Image content Type such as "image/jpeg"
-o, --output= Output Filename [default: result.pdf]

```

# Test

```
nimble test
```