Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zyh94946/oreilly_kindle_book
Generate mobi file for o'reilly book. Technical learning only.
https://github.com/zyh94946/oreilly_kindle_book
go kindle mobi oreilly-books
Last synced: about 2 months ago
JSON representation
Generate mobi file for o'reilly book. Technical learning only.
- Host: GitHub
- URL: https://github.com/zyh94946/oreilly_kindle_book
- Owner: zyh94946
- License: mit
- Created: 2019-10-21T10:16:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-04T06:25:30.000Z (about 5 years ago)
- Last Synced: 2024-08-03T23:30:33.045Z (5 months ago)
- Topics: go, kindle, mobi, oreilly-books
- Language: Go
- Homepage:
- Size: 25.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-golang-repositories - oreilly_kindle_book
README
[![Go Report Card](https://goreportcard.com/badge/github.com/zyh94946/oreilly_kindle_book)](https://goreportcard.com/report/github.com/zyh94946/oreilly_kindle_book) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/zyh94946/oreilly_kindle_book/blob/master/LICENSE)
# Generate mobi file for o'reilly book
**Technical learning only.**
## Install
Only support mac and linux.**Install [kindlegen](https://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211.) first.**
Assuming you already have a recent version of Go installed.
Use make & make install:
```
$ git clone https://github.com/zyh94946/oreilly_kindle_book.git
$ cd oreilly_kindle_book
$ make && make install
Building oreilly_kindle_book...
Building success...
Installing oreilly_kindle_book...
Install success to /usr/local/bin/oreilly_kindle_book.
Usage of oreilly_kindle_book:
-email string
you login email of https://www.oreilly.com/member/
-help
help
-n string
the num of https://learning.oreilly.com/library/view/BOOK-NAME/***
-p string
you login password of https://www.oreilly.com/member/
-version
print version and exit
```Or pull down the code with go get:
```
$ go get github.com/zyh94946/oreilly_kindle_book
``````
$ go install github.com/zyh94946/oreilly_kindle_book
``````
$ oreilly_kindle_book
Usage of oreilly_kindle_book:
-email string
you login email of https://www.oreilly.com/member/
-help
help
-n string
the num of https://learning.oreilly.com/library/view/BOOK-NAME/***
-p string
you login password of https://www.oreilly.com/member/
-version
print version and exit
```## Usage
To generate mobi use:
```
$ oreilly_kindle_book -n BOOK_NUM -email YOU_EMAIL -p YOU_PASSWORD
```