The Register

Biting the hand that feeds IT — Enterprise Technology News and Analysis

New tool gives CLIs a warm and GUI feeling instead

Using command-line tools is often the best way to get something done, but remembering all those flags is a chore. Now, you can let a simple open-source CLI module turn any command into a GUI for you instead. That’s the solution Jordanian full-stack software engineer Omar Soutari built for his first entry into the FOSS community and released this week. Instagui, as he calls it, parses CLI tools’ help documentation, makes an API call to Claude to digest it, and then renders the whole thing as a locally hosted web interface that launches in a user’s default browser. “I could never remember ffmpeg's flags,” Soutari told The Register in an email when asked why he built Instagui. “I'd google the same conversion command for the tenth time and … I realized the information a GUI needs is already sitting in every tool's --help output; someone just has to read it.” Soutari’s solution? Make Claude do the reading for him, have it design a JSON schema and assemble the web app that’d run on top of the CLI automatically, and then publish it for everyone to use. If you’re wondering why Soutari reinvented the wheel already built by tools like Gooey, a Python library that converts Python 3 console programs into GUIs without the use of AI, Soutari told us that Gooey has a number of limitations he wanted to overcome. Sure, it creates an actual desktop app, and relies on ground truth established from a Python CLI’s use of the argparse library, but it requires developers to add their own decorator to ensure Gooey can actually read their code. That's accurate, but it won’t work in all circumstances. “Instagui works from the outside: it reads the --help text of any binary, in any language, with zero changes,” Soutari explained. In other words, as long as the help text is complete and well-written, it’ll produce a solid schema that is likely to function well. Soutari told us that he knew bad help text was a possibility that could hobble Instagui, so he designed for it: Results get validated against a strict schema, and the tool ships with several pre-verified bundled schemas (ffmpeg, yt-dlp, and pandoc) for use and review as well. That, and the JSON schemas Instagui produces are reviewable, and can be edited to make corrections for any of Claude’s mistakes. He also noted that Instagui’s interface shows the CLI as the web app runs, serving as a teaching tool instead of just a way to abstract away from the command line. As for whether Instagui can be trusted (Soutari admitted Claude Code did most of the work while he supervised), Soutari told us that he designed it to be as local, isolated, and reviewable as possible to ensure it runs safely. “Commands execute via an argument array with no shell (so form input can't inject), the server binds to localhost only, state-changing requests are origin-checked, and the exact command is always displayed before it runs,” Soutari told us. “It was built with a threat model, not just vibes.” Given that Instagui relies on API calls to Claude to generate new schemas, it doesn’t run for free (the tool itself is FOSS, though), but Soutari did his best to ensure that it doesn’t eat up tokens like other AI applications. When running the command to capture a new help file into a JSON schema, Instagui makes a Claude API call, but once it creates the schema, that’s that - it stores the file for future use, meaning additional runs of the Instagui web app for that CLI app are done without cost. “The bundled tools work with no API key at all, cached tools never re-pay, and the AI call is once-per-tool pennies - I didn't want a tool that meters you,” Soutari explained. The Instagui dev told us that he’d welcome additional schema contributions to his app, and intends to include more in future releases as well. “I'd love the common-tools library to be community-grown so the AI call becomes the rare path rather than the default,” Soutari told us. Instagui (version 0.1, so it might have some bugs, Soutari admits) is available now on GitHub. ®

Moeder 13-jarige Joni (doodgestoken door Turks klasgenootje) doet verhaal

Social

Volgens de recherche en de oom van Joni zat het destijds als volgt: Joni zou twee weken voor zijn dood getuige zijn geweest van een poging tot straatroof gepleegd door een groep klas/leeftijdsgenootjes, waarbij een 65-jarige vrouw in haar rug gestoken werd. "Daar zou hij spijt van hebben gekregen. Hij zou geen deel meer willen uitmaken van een groep jongens die hem onder druk zette om zulke dingen te doen." En dat was voor zijn 13-jarige Turkse klasgenootje reden hem naar een bos te lokken en neer te steken. Joni wist nog ergens aan te bellen, waarna een ambulnace kwam, maar in het ziekenhuis overleed hij. 

De dader kreeg de maximale straf voor zijn leeftijd, namelijk 1 jaar jeugddetentie en 3 jaar jeugd-tbs. Dat jaar jeugddetentie is voorbij, maar het is op moment van schrijven onduidelijk of hij wegens jeugd-tbs nog ergens intern zit.


VK: Voorpagina

Volkskrant.nl biedt het laatste nieuws, opinie en achtergronden

Grootste Russische raffinaderij stilgelegd na Oekraïense aanval, groeiende brandstoftekorten in het land

Minister presenteert nieuwe verdeelsleutel voor mbo-financiering: 66 miljoen euro verschuift van de Randstad naar krimpregio’s

Wel.nl

Minder lezen, Meer weten.

FNV: flexwet is belangrijke stap in aanpak onzeker werk

DEN HAAG (ANP) - FNV noemt het een belangrijke stap dat de Eerste Kamer heeft ingestemd met een wetsvoorstel dat flexwerkers meer zekerheid biedt over onder meer hun inkomen en werktijden. De vakbond waarschuwt wel dat onzeker werk zich kan verplaatsen naar andere constructies als de politiek maar een deel van de maatregelen doorvoert. Ook is goede handhaving nodig om te voorkomen dat regels worden omzeild.

De wet regelt dat tijdelijke contracten in principe alleen nog zijn toegestaan voor flexibel werk. Het nulurencontract verdwijnt en de positie van uitzendkrachten wordt versterkt. De wet maakt een einde aan zogenoemde draaideurconstructies waarmee werkgevers mensen langdurig op onzekere contracten houden.

"Vandaag is er reden voor optimisme, maar we zijn er nog niet. Als we de ene constructie aanpakken, maar een andere route openlaten zoals schijnzelfstandigheid, verandert er onder de streep te weinig", stelt FNV.


Zverev voor het eerst kwartfinalist Wimbledon na zege op Lehečka

LONDEN (ANP) - Tennisser Alexander Zverev heeft voor het eerst in zijn carrière de kwartfinales van Wimbledon bereikt. Hij wist dinsdag het restant van de achtste finale tegen Jiří Lehečka uit Tsjechië winnend af te sluiten. De partij was maandag stilgelegd vanwege de avondklok van Wimbledon. Zverev won uiteindelijk in vier sets: 6-4 7-5 3-6 7-6 (6).

Toen de wedstrijd maandagavond werd stilgelegd, had Zverev, de Duitse winnaar van Roland Garros, een voorsprong van twee sets bij een stand van 3-3 in de derde set. Na de hervatting won Lehečka direct drie games op rij, waarmee hij de derde set won. In de vierde set gaven beide tennissers niks weg, waardoor een tiebreak de beslissing moest brengen. Die wist de Duitser bij zijn derde matchpoint naar zich toe te trekken.

Zverev, de nummer 3 van de wereldranglijst, won in juni op Roland Garros zijn eerste grandslamtitel. Op Wimbledon is zijn volgende obstakel de als zesde geplaatste Amerikaan Taylor Fritz.


IOC heft schorsing van Russisch Olympisch Comité voorlopig op

LAUSANNE (ANP/AFP/RTR) - Russische atleten mogen weer deelnemen aan teamsporten en kwalificaties voor de Olympische Spelen. Het Internationaal Olympisch Comité (IOC) heeft de schorsing van het Russisch Olympisch Comité voorlopig opgeheven, zo laat het weten vanuit Lausanne.

Rusland was sinds oktober 2023 geschorst door het IOC voor het opnemen van geannexeerde Oekraïense gebieden in de eigen nationale sportkoepel. Het IOC had na het begin van de Russische invasie in Oekraïne in 2022 al sancties opgelegd aan Rusland en Belarus.

Om terug te kunnen keren in internationale competities, moeten Russische atleten wel eerst weer de benodigde dopingcontroles ondergaan, liet het IOC weten.

Vlag

Het IOC maakte ook bekend dat er nog geen beslissing is genomen over de terugkeer van de Russische vlag en het Russische volkslied bij internationale sportwedstrijden.

"We hebben duidelijk gemaakt dat alle atleten de mogelijkheid hebben om aan de Olympische Spelen deel te nemen. Dit is waar deze beslissing op doelt", zei IOC-voorzitter Kirsty Coventry op een persconferentie. "Het stelt Russische atleten in staat deel te nemen aan sportcompetities. We verzetten ons tegen elke vorm van geweld en oorlog en zullen Oekraïne blijven steunen, maar het is niet terecht dat atleten hier de prijs voor betalen."

Rusland verwelkomde het besluit. "Het IOC geeft een duidelijk signaal af: de olympische beweging moet vrij blijven van politiek. Dit moet de weg vrijmaken voor een ​​volledige terugkeer van Russische atleten naar het internationale sportpodium", zei de Russische minister van Sport, Michail Degtjarev. Hij voegde eraan toe dat Rusland van plan is deel te nemen aan de kwalificatiewedstrijden voor de Olympische Zomerspelen van 2028 in Los Angeles.


The Guardian

Latest news, sport, business, comment, analysis and reviews from the Guardian, the world's leading liberal voice

Nige throws the world’s biggest temper tantrum before grand byelection reveal

The Reform leader was determined to fight for the right to receive gifts from Thai crypto billionaires and convicted fraudsters

It’s the heavyweight contest of the year. The Establishment v the Establishment. Or as the former City worker who is given £5m trifles would like you to see it, Nigel Farage versus the Establishment. Yes, Nige has had enough and he’s not taking it any more.

He is the People’s Nige. The man who chose to resign as an MP and call a byelection as a matter of principle. And that principle is the right to receive gifts from a Thai crypto billionaire and benefits in kind from a convicted fraudster without declaring them.

Continue reading...

Rijnmond - Nieuws

Het laatste nieuws van vandaag over Rotterdam, Feyenoord, het verkeer en het weer in de regio Rijnmond

Dit adviseert burgemeester Carola Schouten over omstreden kandidaat-wethouder Miriam Harika

Kandidaat-wethouder Miriam Harika (PRO) heeft gehoord dat negatieve berichten in de media gevolgen kunnen hebben. Die kunnen niet alleen invloed hebben op haar, maar ook op het nieuwe college en de samenwerking met ambtenaren. Daardoor kan haar positie kwetsbaar worden, schrijft burgemeester Carola Schouten aan de gemeenteraad.

Rotterdamse burgemeester waarschuwt voor risico's rond kandidaat-wethouder PRO

Kandidaat-wethouder Miriam Harika (PRO) heeft gehoord dat negatieve berichten in de media gevolgen kunnen hebben. Die kunnen niet alleen invloed hebben op haar, maar ook op het nieuwe college en de samenwerking met ambtenaren. Daardoor kan haar positie kwetsbaar worden, schrijft burgemeester Carola Schouten aan de gemeenteraad.