Skip to content

Genie Tutorials, Blogs and Code Examples ​

This page provides links to tutorials, blog posts and code examples of the Genie programming language. It has been ported from the now-retired GNOME Wiki page.

Many of these resources are several years old. They may still be useful but some links can be outdated or point to archived versions of long-gone websites.

Help wanted

If you know of a useful resource (or a more up-to-date replacement for one of the links below), open an issue or a pull request on the Vala docs repository.

Tutorials and Articles ​

Blogs and Forum Posts ​

Code Examples and Utilities ​

  • AgenDie - an address book with a GTK+3 front end.
  • GameFoo - "A POC for an ECS game engine written in Vala/Genie".
  • Genie sample code — full sources hosted in this documentation (basic I/O, Cairo, GIO, LibSoup, XML, and more).
  • Image viewer - example of an image viewer written in Genie.
  • Image viewer 2 (GtkStack) - another example of an image viewer written in Genie.
  • indent/genie.vim - Vim text editor indent script for the Genie language.
  • Khövsgöl Source Code - a shared music player and library / playlist manager licensed under the GPL. A good example of using GTK, SQLite and GStreamer 1.0 in Genie. Provides integration with PulseAudio, JACK, IceCast, RTP, desktop, MPRIS and Zeroconf/Bonjour.
  • ShmupWars - Vala - arcade-style game mostly written in Genie and some Vala, uses SDL 2.
  • py2gs - a simple Bash script as a starting point to convert Python to Genie.
  • SDL 2.0 Example - example of Genie code with the SDL 2.0 bindings. Makes use of a font, image and audio file.

Communities ​

See Also ​