Login
You're viewing the ruby.social public feed.
  • Nov 26, 2026, 9:54 PM

    is there really no awesome generic RESTful GUI (maybe TUI ok, if ~visidata quality) client (a table editor for a RESTful resource from an API connection)? is this somehow a bad idea and i'm missing something?

    💬 6🔄 1⭐ 0

Replies

  • Nov 26, 2026, 9:58 PM

    i have several usecases, one is that i/my colleagues want a spreadsheet like interface for an existing inventory system because the native UI is too slow/needs to many clicks/doesn't provide the comfort of i.e. google sheets.

    another is doing filtering/sorting/counting on joined API resources from the online shop orders/line items/SKUs. i've done prototypes of both things while evaluating tech like marimo, ultorg, sveltekit+ag grid. they all have severe downsides so far

    💬 3🔄 1⭐ 0
  • Nov 26, 2026, 10:03 PM

    there are a tons of SQL GUIs. but why would you mutate your SQL data directly and sidestep the business logic? that makes no sense.

    there are some cool web datagrids, but they seem to clash with binding/rendering cycles of modern frontend libs, or i first need to get a PhD to sort that out without glitches. in the end it feels easier to do it in vanilla javscript without leaky abstractions :0

    then there are some mature GUI toolkits on desktop. they don't work on the web / mobile. sad trombone

    💬 4🔄 1⭐ 4
  • Nov 26, 2026, 11:32 PM

    i guess marimo has all the ingredients for this, it's just a little bit clunky, but maybe i can make it work well enough

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 26, 2026, 10:12 PM

    @mntmn but yes I know this wasn't your point but I got lightly triggered by one phrase and had to say something to sooth myself; I otherwise sympathise with your situation lol

    💬 0🔄 0⭐ 1
  • Nov 26, 2026, 10:25 PM

    @mntmn So you want something equivalent to a SQL view wrapper for REST APIs? ISTM that would only work for the subset of APIs a) returning tabular data b) accepting their output as input (after a bit of munging)
    Or perhaps you're talking of something analagous? In that case, I'd think that there isn't a nice generic UI because the range of possible mechanisms is too broad to generalise usefully.

    Hope I'm not missing your point

    💬 1🔄 0⭐ 0
  • Nov 26, 2026, 10:33 PM

    @rcgj_OxPhys yep, that's what i'm looking for. would be ok to have to write a little bit of declarative code to tell it about specific API quirks.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 1
  • Nov 26, 2026, 10:41 PM

    @rcgj_OxPhys ok i read this now, and yes, this is extremely true of course. JSON APIs are indeed very flawed in that they don't have in-band discoverability.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 26, 2026, 11:11 PM

    @mntmn It looks like conventions for HATEOS in JSON ("… for a laugh. We already have that, it's called <link rel= …")

    SQL is flat, tho, JSON is potentially infinitely fractally arbitrary, so it's hard, I think, to generically introspect. There's not and cannot be ISTM an INFORMATION_SCHEMA equivalent. One would have to iterate and bail out after a certain number of iterations; that is, incidentally, a way to render the Mandelbrot set :)
    HATEOS seems a bit existential, I guess.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 27, 2026, 12:39 AM

    @mntmn RESTful APIs tend to have nothing to do with REST. One of the crucial ingredients for REST is a shared media type. E.g. you don’t need to know how a web page is supposed to be navigated up front to navigate it, HTML media type provides that information.

    SQL for the most part deals with a known list of types and a well… defined “protocol” for navigating the resources. Easy to build a GUI when everything’s a table you can ORDER BY.

    When an API can do literally anything as long as serialization standard is upheld, how does one even approach building an interactive GUI? There’s yaak.app/ (and a bunch of similar tools) that’s basically is a curl wrapper with usability tooling, if that’s enough.

    There’s JSON:API. It has issues. Here are two that irk me every single time:

    - Standard doesn’t specify how to relay a list of sortable and filterable fields to the client. Client needs to try and hope they don’t get HTTP 400. Which field triggered it? Yes!
    - Standard doesn’t specify resource templates. You can create resources, but you need to get their structure out of band. You can reserve ID `create` for a template resource, but you’ll need to design your own specification for it.

    `<form>` has solved both problems last century.

    There’s also JSON+HAL (no forms), json-forms (can supplement HAL, but now you have 13 competing implementations), and a couple others in various levels of draft or abandonment states. Not a single one of those comes close to what HTML can do. If only we didn’t poison HTML with visual responsibilities…

    💬 1🔄 0⭐ 0
  • Nov 27, 2026, 12:47 AM

    @slotos yeah most of this is trivial in practice, let me just tell the tool a jq like path to the array, which columns i need etc. it's not rocket science. there are commercial REST to ODBC adapters even. excel can query APIs. i just wanted to know if i'm missing an obvious tool before i have to NIH

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • JadeJadedBlueEyes@tech.lgbt
    Nov 26, 2026, 10:18 PM

    @mntmn it *should* do, I'm not 100% sure? Budibase definitely does.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 27, 2026, 3:25 AM

    @mntmn maybe off the mark, but if a ready system helps: we ship Inventory Pro - self-hosted inventory + invoicing (Node.js + PostgreSQL, full source code, $49 one-time). You own the code, so a custom spreadsheet-style view on top is doable. saeedabdo.gumroad.com/l/nkoesm

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 26, 2026, 10:06 PM

    @CyReVolt unclear, i don't see a mention of a data grid / table there for editing the actual data, instead there's a lot of AI blabla

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 26, 2026, 10:24 PM

    @CyReVolt i know these things but maybe i'm missing something but i don't see a spreadsheet/table interface for the records there, only some json

    💬 0🔄 0⭐ 0
  • Nov 26, 2026, 10:08 PM

    @mntmn I've built bespoke versions of this several times in my career, always with just enough business-specific stuff that I couldn't figure out how to generalize it; I feel like each time I build one I get closer to a general-purpose tool.

    The Django admin panel by default gives you a speadsheet-like editor for every model. But it's not great.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 26, 2026, 10:11 PM

    @mntmn I was surprised to find recently there also doesn't seem to be a visidata extension that just… reads an OAPI schema and talks to an endpoint. Seems like a logical idea to me!

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 26, 2026, 11:56 PM

    @mntmn I'm not aware of an opensource tool but AirTable could be made to work for that, its kind of just that, piping data into it from some source and build UIs and basic management tools from that

    💬 1🔄 0⭐ 0
  • Nov 27, 2026, 12:02 AM

    @mntmn looking around a bit Grist and Baserow seem to be somewhat capable alternatives with an open source core

    💬 1🔄 0⭐ 0
  • Nov 27, 2026, 12:38 AM

    @timonsku grist is on the other side of what i need: it's tables with an api _server_, but i need something that can load data from another api.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0