Skip to Content
Documentation

Accounts and history

Log in to providers, read account lists, and manage local viewing history.

Log in

nekostream auth login
nekostream auth status --json
nekostream --provider anime47 auth login
nekostream --provider anime47 auth status --json

Login opens Chrome or Chromium on the selected provider. Complete the sign-in steps in that window; the CLI saves the session after recognizing the login. Browser login is interactive even when you request JSON output.

AnimeVietsub and Anime47 have separate sessions. Protected Anime47 API operations require authentication. If a session expires, log in again with the same provider and data directory. Anime47 can refresh saved tokens when the provider permits it.

Sessions are stored encrypted for the current machine and user. Copying the data directory to a different machine or user may require a fresh login.

Read provider account lists

nekostream account favorites --page 1 --json
nekostream account following --all --json
nekostream --provider anime47 account watching --all --json
nekostream --provider anime47 account plan_to_watch --page 1 --json
nekostream --provider anime47 account notifications --json
ProviderList kinds
AnimeVietsubfavorites, history, following, notifications
Anime47favorites, history, following, watching, completed, plan_to_watch, on_hold, dropped, notifications

--all follows available pages up to a 100-page limit and deduplicates entries. Inspect pagination fields and limitReached if the list is large. For Anime47, following maps to watching, and notifications are returned in data.notifications. Account commands read provider lists; they do not add or remove favorites.

Local history

nekostream history list --json
nekostream history clear

Local history is separate from account history, which reads the provider's account. The CLI stores up to 100 recent entries, keeping the latest episode record per anime and provider after successful player exit. It does not save playback time within an episode.

history clear asks for confirmation in a terminal. To confirm explicitly in a script:

nekostream history clear --yes --json

Log out

nekostream auth logout
nekostream --provider anime47 auth logout

Logout removes the selected provider's locally saved session. It does not clear viewing history, reset preferences, or sign you out of unrelated browser profiles.

To isolate accounts or testing data, use a separate data directory.

On this page