/snapcraft.io

The official website's repository for the Snap store

Primary LanguageJavaScriptOtherNOASSERTION

snapcraft.io snapcraft.io codebase

Github Actions Status Code coverage

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully. This repo is the application for the snapcraft.io website.

If you are interested in Snaps, Snapping and Snapcraft, there is an active discourse forum that we encourage developers to join.

The site is largely maintained by the Web and Design team at Canonical. It is a stateless website project based on Flask and hosted on a Charmed Kubernetes cluster.

Bugs and issues

If you have found a bug on the site or have an idea for a new feature, feel free to create a new issue, or suggest a fix by creating a pull request. You can also find a link to create issues in the footer of every page of the site itself.

Bugs in snaps and tools

If you have found a bug elsewhere in the snap world:

  • For issues with an individual snap - you can run snap info and use the contact information to find where you can get help.
  • In the snapcraft tool - that builds and publishes snaps, file it here
  • In Snapd, the daemon that manages snaps on the client, file it here

Local development

The simplest way to run the site locally is using the dotrun snap:

dotrun

Once the server has started, you can visit http://127.0.0.1:8004 in your browser. You stop the server using <ctrl>+c.

For more detailed local development instructions, see HACKING.md.

Brand stores

This codebase can be modified to setup branded stores that represent specific brand or devices, giving the brand full control over the store content, reviewing process and identity.

Deploy

You can find the deployment config in the deploy folder.

License

The content of this project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license, and the underlying code used to format and display that content is licensed under the LGPLv3 by Canonical Ltd.

With ♥ from Canonical