CLI Tool for calculating N-view index of a vtuber.
N-view index is a metric used to measure the popularity of a vtuber. Simply speaking, it represents the number of digits in the CCV (Concurrent Viewers Count).
If a vtuber has a concurrent viewers of 9, then the N-view is 1, if 99, then 2, and so on.
- Fetches VTuber information from the VTStats API
- Computes the CCV and NView based on the VTuber's channel data
- Supports output in text or JSON format
- Configurable logging levels (debug, info, warn, error)
-
Make sure you have Go installed on your system. You can download and install Go from the official website: https://golang.org/
-
Clone the repository or download the source code:
git clone https://github.com/vtmetrics/nview.git
- Navigate to the project directory:
cd nview
- Build the executable:
go build
To use NView, run the executable with the following command:
./nview -name <name> [-output <output>] [-log <log>]
-name, -n <name>
: Specify the name of the VTuber you want to retrieve information for (required).-output, -o <output>
: Choose the output format. Valid options aretext
(default) andjson
.-log, -l <log>
: Set the log level. Valid options aredebug
,info
,warn
(default), anderror
.
Example:
./nview -name "Otonose Kanade" -output json -log error
Output:
{"name":"Otonose Kanade","affiliation":"Hololive DEV_IS ReGLOSS","ccv":4961,"n_view":4}
This project is licensed under the MIT License.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
- VTStats API: Provides the VTuber data used by NView.