Skip to content

A cargo-generate template for apps and applets for the COSMIC™ DE.

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
GPL-3.0
LICENSE-GPLv3
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

D-Brox/cosmic-generate-template

COSMIC App/Applet Template

A cargo-generate template for developing applications and applets for the COSMIC™ desktop environment.

Getting Started

# Install cargo-generate
cargo install cargo-generate
# Create your project using this template
cargo generate gh:D-Brox/cosmic-generate-template

A justfile is included by default with common recipes used by other COSMIC projects. Install from casey/just.

  • just run builds and runs the application
  • just run-logs builds and runs the application with debug logs
  • just fmt formats the code
  • just check runs clippy on the project to check for linter warnings
  • just check-json can be used by IDEs that support LSP
  • just spellcheck checks the code for spelling mistakes

A second justfile is also included with packaging recipes:

  • just build-debug and just build-release build the project with those respective profiles
  • just install installs the project into the root system
  • just install-local installs the project in the user's home
  • Install project as a deb: run just build-deb && sudo just install-deb
  • Install project as an rpm: run just build-rpm && sudo just install-rpm
  • just vendor and just build-vendored creates a vendored tarball and compiles with vendored dependencies from that tarball, respectively

Documentation

Refer to the libcosmic API documentation and book for help with building applications with libcosmic.

Thanks

This template is based on:

About

A cargo-generate template for apps and applets for the COSMIC™ DE.

Topics

Resources

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
GPL-3.0
LICENSE-GPLv3
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published