How to Create and Publish Your Widgets (Official Guide) #1
osmn-byhn
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
📢 Announcement: How to Create and Publish Your Widgets (Official Guide)
Welcome to the Web Widgets Community! 🧩
To ensure our ecosystem remains secure, high-quality, and easy to maintain, we have standardized the process for creating and publishing new widgets for the Kurug engine.
Whether you are a core maintainer or a new contributor, all new widgets must follow the steps and security protocols outlined below.
🛠️ Step 1: Use the Official Widget Template
We have created a standardized template repository that includes the basic folder structure and the mandatory Continuous Integration (CI) workflows. You must use this template to start your project.
web-widgets-communityas the owner (or your personal account if you plan to transfer it later).📦 Step 2: Naming Convention
Please name your new repository using the following format:
widget-<your-widget-name>(Example:
widget-weather-app,widget-clock,widget-system-monitor)🔒 Step 3: Automated Security & Quality Checks (CI/CD)
When you use the template, it automatically includes a
.github/workflows/ci.ymlfile. This is our automated security and code quality gatekeeper.How it works:
eval(),fetch(),XMLHttpRequest, or accessingdocument.cookie..eslintrc.jsonruleset and scan your code.🛡️ Step 4: Branch Protection & Pull Requests
To protect the integrity of the widgets, the
main(ormaster) branch of every repository in this organization is strictly protected.mainbranch.main.ESLint & PrettierandSecurity Vulnerability Scanactions pass successfully (Green checkmarks ✅).🚀 Ready to Build?
By following these steps, you help us keep the Kurug desktop experience safe and beautiful for everyone. If you encounter any issues with the template or the automated tests, please open a discussion in the community repo!
Keep coding, reinvent your desktop! 💻✨
Beta Was this translation helpful? Give feedback.
All reactions