#gjs

2025-04-28

I love this :3

#gjs #typescript #gnome

The image is a part of some programming code in a text editor. The code is in TypeScript or JavaScript and defines a MainWindow class with imports and decorators. The lines are numbered from 1 to 13 and have syntax highlighting in pink, light blue, brown, and white on a light gray background.
2025-04-19

Bueno, empezado el widget para la vista previa del escritorio. Ya simulé el panel superior, y las ventanas. Me queda ver cómo obtener el fondo de pantalla actual para mostrarlo.

#aesthetic #gnome #gjs #typescript

La imagen muestra una interfaz de usuario limpia y minimalista con el título “Aesthetic” y el subtítulo “Give your device your own vibe”.  En la parte central, hay dos tarjetas; una muestra una simulación del escritorio GNOME, mientras que la otra está vacía.  El diseño general es simple y moderno.
2025-04-18

Ok, aprovechando que esbuild tiene soporte para la propuesta de decoradores (github.com/tc39/proposal-decor), decidí hacer una implementación experimental para registrar las clases de GObject.

Me encanta :3

Pero todo será mejor cuando GJS incorpore soporte oficial, ya que tendremos decoradores más granulares, y no tendremos que meter en un objeto literal todo x3

#aesthetic #gnome #gjs #typescript

Imagen de código fuente en TypeScript, mostrando la definición de una clase `App` que extiende `Adw.Application`. La clase está siendo decorada por una función `registerClass`, e incluye métodos para inicializar la aplicación (`vfunc_startup`), estableciendo el nombre de la misma y el nombre de su comando, asegurando los tipos de `Header` y `MainWindow`, añadiendo acciones y atajos de teclado, y activando la ventana principal. También se define el método `vfunc_activate` para presentar la ventana activa.  El código incluye importaciones de varias librerías, como `Adw`, `GLib`, y `GObject`.  Los comentarios indican la información de copyright y la licencia GPL-3.0-or-later.Código fuente que muestra una función TypeScript llamada `registerClass` que registra una clase en un sistema GObject.  La función acepta opciones que incluyen propiedades, interfaces y señales, y devuelve una función para crear una instancia de la clase.
2025-04-18

Me costó bastante armar todo, estuve vaaaaaaaaaaaaaarias horas. Lo bueno es que aprendí unas cuantas cositas nuevas sobre npm.

Por ahora el toolchain es masomenos así:

Flatpak → Meson → npm → esbuild

Flatpak simplemente invoca los correspondientes comandos de Meson. Este, a su vez, configura el proyecto, y llama a npm para que instale todas las dependencias necesarias y que invoque a esbuild. Y por último, esbuild se encarga de tomar todo el código fuente, resolver todos los imports, y generar un único archivo que se instala en `$prefix/share/one.naiara.Aesthetic`.

Lo más bonito de todo es que gracias a usar esbuild, ahora puedo importar los archivos .ui como hacía con gjspack. Incluso puedo usar los alias de TypeScript, o importar paquetes desde npm (siempre y cuando no usen APIs de Node) 🤩

#aesthetic #gnome #gjs #typescript

2025-04-18

Para empezar, ayer estuve armando el setup. El lenguaje será GJS y TypeScript, aprovechando que ya por fin tenemos soporte de Source Maps (gitlab.gnome.org/GNOME/gjs/-/m).

RE: rebel.ar/@nyx_lyb3ra/114355144

#aesthetic #gnome #gjs #typescript

2025-04-18

🎨 Aesthetic

Voy a dar inicio a un hilo sobre una app que surgió de mi deseo por tener una presentación de fondos de pantalla en GNOME, y que al cambiar entre fondos actualice el color de acento del sistema.

Acá voy a ir dando actualizaciones sobre el desarrollo de dicha app, y lo voy a dejar destacado con una etiqueta en mi perfil.

#aesthetic #gnome #gjs #typescript

2025-04-18

getting there.
#gnome #gjs #python

screenshot of my desktop with the applications i have developed.
2025-04-10

progress :3
might've taken a wee detour with gtk4 and markdown..

#gnome #gjs

splashscreen for my app.
2025-04-09

the progress is progressening. #gnome #gjs #creativewriting

2025-03-24

🚀 New releases of ts-for-gir and the TypeScript type definitions for #GNOME Shell 48 are out!
You can now build native GNOME apps and shell extensions using modern, strongly-typed #TypeScript. 💻✨

🔗 ts-for-gir: github.com/gjsify/ts-for-gir
🔗 GNOME Shell types: github.com/gjsify/gnome-shell

#GNOME #GJS #JavaScript #OpenSource #LinuxDev

MonokaGerryT
2025-03-16

Share of programming languages used by / applications (2025-03-16):

28%
21%
20%
17%
06% ++
06%
04% Other:

63% use GTK4 (90% of them use ), while still 37% use GTK3

Method: Source [1] lists 543 awesome (3/4) applications and their

[1] github.com/valpackett/awesome-

@GTK @gnome

CauêEuCaue
2025-03-05

I love working on my extension. I always fix one bug and create two more that don't make any sense.:polarbear:

Revath S Kumar :javascript:revathskumar@fosstodon.org
2025-01-13

Another small progress on bender, small #gtk utility using #gjs for text transformation inspired by #rofi & #alfred

Now actions can be defined using config.

github.com/revathskumar/bender

#Linux #utility #gnome

sample config for bender in YAML format
you╭👺+300╭🐈x5╭⁂+3╭(Ⓐ+aunspeaker
2025-01-12

naw every time i open it freezes for multiple seconds. it's , is always on anyway, how hard could it be to fetch asynchronously...

Revath S Kumar :javascript:revathskumar@fosstodon.org
2025-01-02

Finally made some progress on a small #gtk utility using #gjs

Still in very early stage development
Written in #TypeScript
uses #adwaita widgets.

github.com/revathskumar/bender

#gtk4 #gnome #gnome47

MonokaGerryT
2024-12-11

Share of programming languages used by / applications (2024-12-11):

28%
22%
20%
17%
06%
06% ++
03% Other (incl. , , , , , , , )

63% use GTK4 (90% of them use ), while still 37% use GTK3.

Method: Source [1] lists 486 awesome (3/4) applications and their .

[1] github.com/valpackett/awesome-

@gtk @Gnome

MonokaGerryT
2024-11-16

@aylamz Here you see the approximate share of recent Gnome applications by programming language: mastodon.social/@GerryT/113463

(and ?) seem to be not recommended for new projects, at least according to @ebassi . Here you see his points: phoronix.com/news/GNOME-Vala-B (link to his blog at the bottom). Probably @vala_lang has a different opinion on that.

Me, not being a programmer, this would leave , , and that seem most suitable for new projects

MonokaGerryT
2024-11-11

Share of programming languages used by / applications :

30%
23%
21%
16%
06%
06% ++
02% Other (including , , , , , , )

62% use GTK4, while still 38% use GTK3.

Method: Source [1] lists 453 awesome (3/4) applications and their . Date: 2024-11-11.

[1] github.com/valpackett/awesome-

@GTK @gnome

2024-09-17

I've been making something horrible with #GNOME/#GTK, #GJS, and #React....

To be honest, not sure what to put here. Uh, just think GTK React.
MonokaGerryT
2024-07-24

Share of programming languages used by / applications :

29%
23%
19%
15%
05%
05% ++
03% Other (including , , , , , , )

Method: Source [1] lists 439 awesome (3/4) applications and their

[1] github.com/valpackett/awesome-

@GTK @gnome

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst