Skip to content

[FEATURE_REQUEST] REST API for managing sections and items #2011

@chrisn-au

Description

@chrisn-au

Hey 👋

First off — love Dashy, been running it as my homelab dashboard for a while now and it's great.

I was wondering if there's any interest in adding a lightweight REST API for managing sections and items in the config? Something along the lines of:

  • GET /api/dashy/sections — list sections
  • POST /api/dashy/items — add an item to a section by name
  • DELETE /api/dashy/items — remove an item by URL

The use case for us is automating dashboard updates — we have a service manager that creates reverse proxy entries and DNS records, and it'd be nice to also add/remove dashboard tiles in the same flow without needing to edit the YAML directly or restart the container.

We've actually prototyped this as a small sidecar Express server that reads/writes conf.yml using js-yaml, and it works well. Happy to put together a PR if this is something you'd consider merging — either as a sidecar or baked into the existing server.js.

No worries at all if it's out of scope or not the direction you want to take the project. Just thought I'd float the idea!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions