This repository contains the distribution resources for the Artalk project, as well as our community plugins and themes.
Artalk is a open-source project that aims to provide a simple, fast and extensible commenting system for websites. You can easily create or install plugins and themes to customize the look and feel of your Artalk instance. A plugin guide is available in the Documentation.
The repo does not accept issues, if you han any questions or need help, please go to the Main Repository.
Thanks for submitting your creations! We welcome all contributions to the Artalk ecosystem.
Before you start, make sure you have read the Plugin Guide and Theme Guide.
Assuming you have already created your plugin or theme, and published it to NPM, you can now submit it to this repository.
To submit your plugin or theme, please follow these steps:
-
Fork this repository.
-
Edit plugins.yaml or themes.yaml in the
data
folder of your forked repository. -
Add your plugin or theme to the list, following the format of the existing entries.
- id: 'artalk-plugin-sample' name: 'Sample Plugin' description: 'Sample Plugin of Artalk' github_repo: 'ArtalkJS/Artalk' npm_package: 'artalk-plugin-sample' author_name: 'ArtalkOfficial' author_link: 'https://github.com/ArtalkJS/Artalk' donate_link: 'https://buymeacoffee.com/artalk'
-
Execute
pnpm install
andpnpm lint
to check if the changes are correct (Github Actions will also check it for you). -
Submit a pull request to this repository.
- Artalk will read the
data/plugins.yaml
anddata/themes.yaml
files in this repository to display the list of available plugins and themes. - After you updated the list, Artalk will automatically fetch the latest data from your
github_repo
andnpm_package
to get the information about your plugin or theme. - The
id
field is used to uniquely identify your plugin or theme. It should be a unique string that is not used by any other plugin or theme in this repository. - Your github plugin repository should contain a
README.md
file that describes your plugin or theme. This file will be displayed in the Artalk plugin or theme page. - Your node repo should contain a
package.json
file, and managed by NPM. We provide Artalk Vite Plugin to help you build and keep your plugin or theme manifest information consistent with Artalk. A github repo template is available here, we recommend you to use it.