>_ DevTrendsen

Language

Home

Languages

Sections

Frontend Backend Mobile DevOps AI / ML GameDev Blockchain Security
JavaScript

Workbench — An Interactive Sandbox for GNOME Developers

838 stars

Workbench icon

Remember how painful it was to take your first steps in GTK application development? Endless cycles of «edit code → build → run → see error» can discourage anyone from learning. Workbench solves this elegantly — turning the interface creation process into an interactive and visual experience.

What is this tool?

Workbench is an environment for rapid prototyping of GNOME applications with instant visual feedback on changes. Think of it as a combination of JSFiddle and Qt Designer, but tailored for the GNOME ecosystem.

Workbench demo

Who is this tool for?

  • GTK beginners — an ideal starting point without the need to set up a complex environment
  • UX designers — quick interface prototypes with real code
  • Experienced developers — testing widgets and styles without rebuilding the project

Key features

  1. Live preview — code and CSS changes are displayed instantly
  2. Example library — over 300 ready-made snippets in different languages
  3. Multi-language support:
    • JavaScript (103 examples)
    • Python (98 examples)
    • Vala (92 examples)
    • Rust (52 examples)
  4. Full-featured IDE — syntax highlighting, autocompletion, linters
  5. Export to real projects — transfer code to GNOME Builder with one action

How does it work technically?

Workbench is built on the GNOME technology stack:

  • GTK 4 for interface rendering
  • GJS (JavaScript), PyGObject (Python), gtk-rs (Rust) for language support
  • Flatpak for isolated environment

Fun fact: the demo examples are distributed under the CC0 license — you can freely copy them into your projects!

Real-world use cases

  1. Mirko Brombin (creator of Bottles) uses Workbench for rapid interface prototyping
  2. Marco Melorio (developer of Telegrand) created the first mockups of his application in Workbench
  3. Many beginners note that the tool significantly accelerated their GTK learning

«This is an essential tool for anyone developing GTK applications» — Mirko Brombin

Is it worth trying?

Workbench is a rare case where a tool is equally useful for beginners and experienced developers. If you:

  • Want to learn GTK without the hassle
  • Frequently experiment with interfaces
  • Looking for inspiration in ready-made examples

...then Workbench will save you a lot of time. You can install it via Flathub:

Download on Flathub

P.S. Personally, I like how the project combines simplicity for beginners with powerful features for professionals. Which aspect of Workbench do you find most useful?

Related projects