Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tubone24/ebook-homebrew-nim-client
- Owner: tubone24
- License: mit
- Created: 2019-08-26T14:19:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:34:36.000Z (about 1 year ago)
- Last Synced: 2024-04-13T04:55:37.183Z (9 months ago)
- Topics: nim
- Language: Nim
- Homepage:
- Size: 656 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 NimUsage:
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
```