Skip to content

Add an http provider so network widgets need no commands #85

Closed

Description

@Seb-GRAF

Problem

Weather, GitHub, status pages and prices all fetch JSON over HTTPS, and today each needs a script that runs curl. A package with a script runs commands, so a maintainer must read every version before the store publishes it, and its declared hosts aren't enforced.

Proposal

  • A provider type http with url, interval, optional headers, and an output map that copies parts of the JSON response into text, fields and values with JSON Pointer paths such as /current/temperature_2m, and arrays into lists.
  • token sends Authorization: Bearer <value> and accepts a secret setting, so tokens stay in the Keychain.
  • In a package, requests go only to the hosts in its hosts.
  • Packages with "kind": "widgets" may define http providers, so the store can publish them after CI alone, as it does themes.
  • whenVisible, events, retries and Diagnostics work as for other providers.
  • Open question: formatting numbers, such as rounding and units, without a script.

Possible today

Partly. A command provider can run curl and jq, which makes its package one that runs commands.

Related

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Oct 19, 2026
  2. added
    P3
    on Nov 8, 2026
  3. self-assigned this
    on Nov 16, 2026
  4. stablebar-releases commented on Nov 20, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.18.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3enhancementreleased

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions