unicli-explorer

Solid

Create new Uni-CLI adapters by exploring websites and APIs. Use when adding support for a new site, desktop app, or service that unicli doesn't cover yet.

AI & Automation 146 stars 3 forks Updated 2 days ago Apache-2.0

Install

View on GitHub

Quality Score: 93/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## When to Use Adding a new website, API, or local app to Uni-CLI's adapter catalog (~20-line YAML files). ## Workflow ### 1. Discover the API ```bash unicli browser start # Ensure Chrome is running unicli operate open <target-url> # Navigate to target page unicli operate state # Inspect DOM structure unicli operate network # List captured JSON API requests unicli operate click <ref> # Trigger lazy-loaded APIs unicli operate network # Check for new requests ``` ### 2. Choose Strategy | Condition | Strategy | Browser? | | ------------------------- | ----------- | -------- | | `fetch(url)` returns data | `public` | No | | Needs login cookies | `cookie` | Yes | | Needs CSRF/Bearer token | `header` | Yes | | Complex signed requests | `intercept` | Yes | | No API, DOM only | `ui` | Yes | ### 3. Write YAML Adapter Create `src/adapters/<site>/<command>.yaml`: ```yaml site: mysite name: mycommand description: What this command does type: web-api strategy: public args: query: { type: str, required: true, positional: true } limit: { type: int, default: 20 } pipeline: - fetch: { url: "https://api.example.com/search", params: { q: "${{ args.query }}" }, } - select: data.results - map: { title: "${{ item.title }}", url: "${{ item.url }}" } - limit: ${{ args.limit }}...

Details

Author
olo-dot-io
Repository
olo-dot-io/Uni-CLI
Created
2 months ago
Last Updated
2 days ago
Language
TypeScript
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category