@orsf/cli — Slovak companies in your terminal
@orsf/cli is a shell tool to search and fetch data on 1.25M+ Slovak companies straight from your terminal. JSON or table output, no signup, ideal for scripts, CI pipelines, and ad-hoc exploration.
Quickstart
No install needed, via npx:
bash
npx @orsf/cli search "poistovna"
npx @orsf/cli company 55609830
npx @orsf/cli graph 55609830 --depth 2Or install globally:
bash
npm install -g @orsf/cli
orsf search "poistovna"Commands
| Command | Description | Auth |
|---|---|---|
orsf search <query> | Fulltext + filters | — |
orsf company <ico> | Company detail by IČO | — |
orsf graph <ico> [--depth 1-3] | Connection graph | ✅ |
orsf person <uuid> | Person detail | ✅ |
orsf refresh <ico> | Force-refresh from source | ✅ |
Use in scripts
bashExample: dump 100 newest companies to JSONL
#!/usr/bin/env bash
for ico in $(npx @orsf/cli search "" --limit 100 | jq -r '.hits[].ico'); do
npx @orsf/cli company "$ico"
done > companies.jsonlbashExample: filter only active VAT payers in Bratislava
npx @orsf/cli search "" \
--region SK010 \
--is-vat-payer true \
--status active \
--limit 50Authentication
For auth-gated commands (graph, person, refresh) you need a session cookie. Sign in at orsf.sk first, then export the cookie as an environment variable:
bash
export ORSF_SESSION_COOKIE="__Secure-orsf.session_token=..."
orsf graph 55609830