Leleat / create-gnome-extension

Moved to https://gitlab.gnome.org/World/javascript/create-gnome-extension
GNU General Public License v2.0
1 stars 0 forks source link
gjs gnome gnome-shell gnome-shell-extension

create-gnome-extension

Project moved to https://gitlab.gnome.org/World/javascript/create-gnome-extension


create-gnome-extension is a community maintained scaffolding tool to build GNOME Shell extensions.

Developing a GNOME Shell extension

To get started with developing GNOME Shell extensions, visit gjs.guide. It has tutorials and guides written by the GNOME community.

If you need more help, you can use the following channels

Usage

To use create-gnome-extension run the following command in a terminal.

npm create gnome-extension@latest

You will be asked some questions to determine which files to include in your project.

Project Structure

The following file structure will be created when running npm create gnome-extension. Depending on the options passed to create-gnome-extension, some files may not be included in your project.

project-directory/
├── data/
├── po/
├── scripts/
├── src/
│   ├── schemas/
│   │   └── org.gnome.shell.extensions.project-name.gschema.xml
│   ├── extension.[js|ts]
│   ├── prefs.[js|ts]
│   └── stylesheet.css
├── metadata.json
└── ...

Other files may be included but they aren't directly related to extension development. For instance, configuration files for tools like Prettier or ESLint.

License

This software is distributed under the terms of the GNU General Public License, version 2 or later. See the license file for details.