Skip to content

Commit 70446af

Browse files
committed
readme: 0.5.0
1 parent 9ddd9ba commit 70446af

2 files changed

Lines changed: 54 additions & 5 deletions

File tree

.goreleaser.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ before:
77
builds:
88
- binary: olive
99

10-
main: ./src/cmd/olive
10+
main: ./
1111
env:
1212
- CGO_ENABLED=0
1313

1414
ldflags:
15-
- -s -w -X github.com/go-olive/olive/src/config.AppVersion={{.Tag}}
15+
- -s -w -X github.com/go-olive/olive/command.build={{.Tag}}
1616

1717
goos:
1818
- linux
@@ -54,7 +54,7 @@ archives:
5454
files:
5555
- LICENSE
5656
- README.md
57-
- src/tmpl/config.toml
57+
- zarf/tmpl/config.toml
5858

5959
checksum:
6060
name_template: "{{ .ProjectName }}_v{{ .Version }}_checksums.txt"

README.md

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,55 @@
88
[![Github All Releases](https://img.shields.io/github/downloads/go-olive/olive/total.svg?style=for-the-badge)](https://github.com/go-olive/olive/releases)
99
[![QQGroup](https://img.shields.io/:QQ%20Group-735124170-brightgreen.svg?style=for-the-badge)](https://qm.qq.com/cgi-bin/qm/qr?k=c6CTyYkB-p-o8ZoT5ldcjuFAVnyu5vEL&jump_from=webapi)
1010

11-
### Claimer
11+
[简体中文](https://go-olive.github.io/) | English
1212

13-
main branch is currently WIP, check out [0.3.3](https://github.com/go-olive/olive/tree/0.3.3) instead.
13+
## Installation
14+
15+
- build from source
16+
17+
`go install github.com/go-olive/olive@latest`
18+
19+
- download from [**releases**](https://github.com/go-olive/olive/releases)
20+
21+
- docker image
22+
`docker pull luxcgo/olive`
23+
24+
## Quickstart
25+
26+
Get **olive** to work simply by passing the live url.
27+
28+
```sh
29+
$ olive run -u https://www.huya.com/518512
30+
```
31+
32+
## Usage
33+
34+
```sh
35+
$ olive help
36+
37+
olive is a live stream recorder, underneath there is a powerful engine
38+
which monitors streamers status and automatically records when they're
39+
online. It helps you catch every live stream you want to see.
40+
41+
Usage:
42+
olive [command]
43+
44+
Available Commands:
45+
admin Admin is a cli utility for database.
46+
biliup Biliup is a cli utility which generates bilibli cookies.
47+
completion Generate the autocompletion script for the specified shell
48+
help Help about any command
49+
run Start the olive engine.
50+
server Server provides olive-api support.
51+
tv TV is a cli utility which gets stream url.
52+
version Print the version number of olive
53+
54+
Flags:
55+
-h, --help help for olive
56+
57+
Use "olive [command] --help" for more information about a command.
58+
```
59+
60+
## License
61+
62+
This project is under the Apache-2.0. See the [LICENSE](https://github.com/go-olive/olive/blob/main/LICENSE) file for the full license text.

0 commit comments

Comments
 (0)