
GJS
GJS A Guide to JavaScript for GNOME Discover how to use JavaScript with GNOME Get Started See it in action
Guides | GNOME JavaScript
Welcome to GJS! Introduction How does GJS compare to other JavaScript environments? Asynchronous Programming How does GJS combine an event loop, the Promise API and task …
Intro | GNOME JavaScript - gjs.guide
GJS provides JavaScript bindings for the GNOME platform libraries, meaning that developers will use libraries like Gio for working with files, Gtk to build user interfaces, Soup for WebSockets and so on.
D-Bus | GNOME JavaScript - gjs.guide
In GJS, describing exported interfaces in XML is mandatory. GJS includes convenience functions for creating client proxies directly from an XML string, which is covered in the High-Level Proxies …
Installing GJS and Running The Examples | GNOME JavaScript
Using the command line is possible but can be difficult if your distribution is not running a modern version of GJS by default. Beginning examples may function properly, while more advanced topics …
Debugging | GNOME JavaScript - gjs.guide
GJS provides bindings between JavaScript and the GNOME platform, which is written largely in C. This means that there may always be ways to crash a GJS process, despite being a high-level memory …
Getting Started | GNOME JavaScript - gjs.guide
Choose a UUID for your extension: no-line-numbers UUID is a globally-unique identifier for your extension. This should be in the format of an email address ([email protected]) …
Style Guide | GNOME JavaScript
This guide documents how to use the official GJS ESlint configuration, as well as other preferred styles that can't be expressed by a linter configuration. It also includes a basic introduction to setting up a …
Extensions | GNOME JavaScript - gjs.guide
For a general programming tasks with GJS, there are guides for topics like Asynchronous Programming and Working with Files, as well as gentle introductions to core concepts like GObject.
Imports and Modules | GNOME JavaScript - gjs.guide
There are effectively two types of modules that can imported in GJS, the most common being libraries in the GNOME platform, and the other being JavaScript files.