gjsify/gnome-shell
GJS TypeScript type definitions for GNOME Shell Extensions
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tháng
#1 Repository của tuần
#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.
TypeScript type definition generator for GObject introspection interfaces
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
🙃 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.
Extension that adds a blur look to different parts of the GNOME Shell, including the top panel, dash and overview
The repository for high quality TypeScript type definitions.
Kotlin/Native bindings for the GTK and other GObject-based libraries (read only mirror of GitLab)