Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jam7 committed Aug 9, 2021
1 parent 6ea21c9 commit fc4f39c
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ $ chmod a+x narou
Don't add `-ti` to `docker run`. Otherwise, you may create a narou
script with crlf.

## How to use it

Use a generated narou script. All downloaded data is stored at
$HOME/.narou.
Run a generated script to download AozoraEpub3 to `$HOME/.narou/AozoraEpub3*`
and initialize environment for narou.rb.

```
$ ./narou list
Expand Down Expand Up @@ -53,6 +51,31 @@ device を kindle に設定しました
$
```

## How to use it

Use a generated narou script. All downloaded data is stored at
$HOME/.narou.

```
$ narou d https://ncode.syosetu.com/n6813gp/
```

### How to send mobi to kindle

From WSL2, perform mount first.

```
$ sudo mkdir -p /mnt/Kindle
$ sudo mount -t drvfs D: /mnt/Kindle
```

Then, use narou send.

```
$ narou send
```


### Run as web service (not tested recently)

Use `docker run -p IP-ADDRESS:8000-8001:8000-8001 narou web -p 8000 -n`. Narou.rb uses sepecified port 8000 for web server and +1 port 8001 for push_server.
Expand Down

0 comments on commit fc4f39c

Please sign in to comment.