{"id":17694246,"url":"https://github.com/andyholmes/valent-plugin-example","last_synced_at":"2026-01-11T02:19:36.311Z","repository":{"id":103772349,"uuid":"562030779","full_name":"andyholmes/valent-plugin-example","owner":"andyholmes","description":"Plugin Template for Valent","archived":false,"fork":false,"pushed_at":"2024-12-16T02:18:15.000Z","size":14,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T04:51:33.866Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Meson","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andyholmes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-05T04:45:46.000Z","updated_at":"2023-10-16T08:37:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"84c90edb-f681-4fbd-81ab-18b98cb559ef","html_url":"https://github.com/andyholmes/valent-plugin-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyholmes%2Fvalent-plugin-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyholmes%2Fvalent-plugin-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyholmes%2Fvalent-plugin-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyholmes%2Fvalent-plugin-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyholmes","download_url":"https://codeload.github.com/andyholmes/valent-plugin-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246392424,"owners_count":20769741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-24T13:48:16.944Z","updated_at":"2026-01-11T02:19:36.305Z","avatar_url":"https://github.com/andyholmes.png","language":"Meson","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Continuous Deployment](https://github.com/andyholmes/valent-plugin-example/actions/workflows/cd.yml/badge.svg)](https://github.com/andyholmes/valent-plugin-example/actions/workflows/cd.yml)\n\n# Valent (Plugin Template)\n\n**Template for Valent Plugins**\n\n[Valent][valent] is an implementation of the [KDE Connect][kdeconnect] protocol,\nbuilt on [GNOME][gnome] platform libraries.\n\nThis repository hosts an example plugin, implementing a standard device plugin\nwith preferences.\n\n## Using This Template\n\nReplace `example` in any filenames, then search-and-replace instances of\n`example`, `Example` and `EXAMPLE` in the project. Files with the basename\n`template` are automatically renamed at build time.\n\nCheck the `meson.build` in each directory for more details about using the\ntemplate files. The root `meson.build` has a small section of variables:\n\n| Name            | Description                                        |\n|-----------------|----------------------------------------------------|\n| `plugin_module` | The libpeas module name                            |\n| `plugin_author` | The plugin author (e.g. \"Alice Roberts\")           |\n| `plugin_email`  | The plugin author's e-mail address                 |\n| `plugin_url`    | The plugin homepage or repository                  |\n\n## Installation\n\nTo build and install as a system plugin, run `meson` with the appropriate\narguments for your distribution:\n\n```sh\nmeson setup --prefix=/usr _build\nmeson install -C _build\n```\n\nFor those interested in building a Flatpak extension, Valent's\n[nightly repository][nightly-repo] can be used as a source for the runtime:\n\n```sh\nflatpak remote-add --if-not-exists valent https://valent.andyholmes.ca/valent.flatpakrepo\n```\n\nA Flatpak extension can then be built and installed with `flatpak-builder` and\n`flatpak`:\n\n```sh\n# Build the extension\nflatpak-builder --force-clean \\\n                --repo _flatpak_repo \\\n                _flatpak_builddir \\\n                ca.andyholmes.Valent.Plugin.example.json\n\n# Export a bundle\nflatpak build-bundle _flatpak_repo --runtime \\\n                     ca.andyholmes.Valent.Plugin.example.flatpak \\\n                     ca.andyholmes.Valent.Plugin.example \\\n                     master\n\n# Install the extension\nflatpak install ca.andyholmes.Valent.Plugin.example.flatpak\n```\n\n## Deployment\n\nThis repository includes a CI workflow that builds a Flatpak bundle for pull\nrequests, and a CD workflow that can deploy `x84_64` and `aarch64` builds to a\nrepository hosted on GitHub Pages (see the [flatter GitHub Action][flatter] for\ndetails).\n\n## Getting Help\n\nJoin the community in [Discussions][discussions] to ask questions, share ideas\nand get help writing your plugin!\n\n[valent]: https://github.com/andyholmes/valent\n[gnome]: https://www.gnome.org\n[kdeconnect]: https://kdeconnect.kde.org\n[nightly-repo]: https://valent.andyholmes.ca/valent.flatpakrepo\n[flatter]: https://github.com/andyholmes/flatter\n[discussions]: https://github.com/andyholmes/valent/discussions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyholmes%2Fvalent-plugin-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyholmes%2Fvalent-plugin-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyholmes%2Fvalent-plugin-example/lists"}