RepositoryJavaScript
gjsify

gjsify/gnome-shell

GJS TypeScript type definitions for GNOME Shell Extensions

82sao
16fork
4issue
3lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: gjs

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: gir

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: gjs

#1 Repository của tuần

🧩 TypeScript cho GNOME Shell Extensions

GJS TypeScript type definitions for GNOME Shell Extensions — giúp viết extension an toàn kiểu.

Dự án gjsify/gnome-shell cung cấp định nghĩa TypeScript cho các tiện ích mở rộng GNOME Shell. Phần lớn kiểu được sinh tự động từ file .gir bằng ts-for-gir, nhưng một phần lớn GNOME Shell được viết bằng JavaScript không có .gir, nên các định nghĩa còn lại phải được viết tay trong repo này.

✨ Điểm nổi bật

  • Sinh tự động từ .gir: Dùng ts-for-gir tạo *.js (ESM), *.cjs, Ambient Module Definitions và index files.
  • Viết tay cho JS: Các định nghĩa bổ sung được viết tay, căn chỉnh theo cấu trúc mã nguồn GNOME Shell.
  • Hỗ trợ build/validate: Cung cấp lệnh yarn build:types, yarn validate:types, yarn build:example, yarn validate:example.
  • Cấu trúc rõ ràng: Nguồn đặt tại ./packages/gnome-shell/src, đồng bộ với mã nguồn GNOME Shell.
  • Cộng đồng tham gia: Mời mọi người đóng góp định nghĩa còn thiếu qua PR.

💡 Vì sao đáng chú ý

Dự án giúp các nhà phát triển viết GNOME Shell Extensions bằng TypeScript một cách an toàn kiểu, giảm lỗi thời gian chạy. Một số extension nổi tiếng như gTile, Pano, Rounded Window Corners Reborn đã sử dụng thành công.


#GNOME #Shell #TypeScript #GJS #Extensions #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryTypeScript
gjsify/ts-for-gir

TypeScript type definition generator for GObject introspection interfaces

291
Oct 30, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

213.0k
Dec 3, 2026
RepositoryShell
ohmyzsh/ohmyzsh

🙃 A delightful, community-driven framework for managing your zsh configuration. Built by 2,600+ contributors, with hundreds of plugins (git, rails, laravel, node, python, docker, kubectl, aws, and more), themes to spice up your terminal, and automatic updates to keep your command line feeling like home.

191.0k
Nov 29, 2026
RepositoryJavaScript
GSConnect/gnome-shell-extension-gsconnect

KDE Connect implementation for GNOME

3.8k
Oct 18, 2026
RepositoryJavaScript
Schneegans/Burn-My-Windows

🔥 Disintegrate your windows with style.

3.1k
Nov 22, 2026
RepositoryJavaScript
aunetx/blur-my-shell

Extension that adds a blur look to different parts of the GNOME Shell, including the top panel, dash and overview

2.4k
Nov 28, 2026
RepositoryTypeScript
DefinitelyTyped/DefinitelyTyped

The repository for high quality TypeScript type definitions.

51.5k
Nov 27, 2026
RepositoryKotlin
gtk-kn/gtk-kn

Kotlin/Native bindings for the GTK and other GObject-based libraries (read only mirror of GitLab)

59
Feb 14, 2025