Skip to content

Commit

Permalink
[add] README を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
shinosaki committed Feb 14, 2025
1 parent 125d8da commit 32b3d38
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ insert_final_newline = true

[*.{yaml,yml}]
indent_size = 2

[*.md]
indent_size = 2
58 changes: 58 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# namagent

namagent is a cross-platform live streaming alert CLI application written in Golang.

## Download
[Releases Page](https://github.com/shinosaki/namagent/releases)

## Usage

### alert

Starts a daemon that automatically records streams from the specified user in `config.yaml`.

```bash
namagent alert [options]
```

Options:
- `--config`: Specify the path to the configuration file (by default, try to load `./config.yaml`)

### recorder

```bash
namagent recorder [options] url
```

Options:
- `--ffmpeg`: Path to the ffmpeg executable file (by default, `ffmpeg`)
- `--output`: Path for the saved file

## Config File

- `meta.fetch_interval`: Interval in seconds for periodic retrieval of program data (by default, `10` sec)
- `paths.ffmpeg`: Path to the ffmpeg executable file (by default, `ffmpeg`)
- `paths.output_base_dir`: Destination directory for recordings using **alert** (by default, working directory)
- `following.users.nico`: Array of user IDs to be automatically recorded

### Example
```yaml
meta:
fetch_interval: 10

paths:
ffmpeg: "ffmpeg"
output_base_dir: "."

following:
users:
nico:
- "5599432"
- "96462240"
```
## LICENSE
[MIT](./LICENSE)
## Author
shinosaki https://shinosaki.com

0 comments on commit 32b3d38

Please sign in to comment.