Yo KDE folks

I’m a huge Plasma fan and been messing around with plasmoid dev for a while now. But maaaan, you ever feel like you’re doing the same boring setup/build/package dance over and over, instead of actually building cool stuff? Yeah… same here.

So I built a little something to fix that: Prasmoid, a CLI tool that helps you skip the annoying parts and just vibe with the code.


What it does:

  • prasmoid init → Sets up a new plasmoid project from scratch. Just answer a few prompts, and boom, your folder’s ready. No boilerplate hustle.
  • prasmoid preview --watch → Opens your plasmoid in a preview window, auto-restarts it when you save. (Yup, full restart, not internal hot reload… yet)
  • prasmoid i18n → Handles translation stuff: .pot/.po file gen, .mo compilation, it’s got your back.
  • prasmoid build → Packs your project into a .plasmoid file, ready to ship.
  • prasmoid format → Cleans up your QML files so you don’t have to stare at messy whitespace.
  • prasmoid changeset → Helps manage versions + changelogs without manually doing it all.

Bonus: Custom commands with JS

Prasmoid has its own JavaScript runtime baked in (built using Goja in Go), so you can write project-specific commands in JS. It’s like Node.js scripts, but you don’t even need Node installed. Fully self-contained.


Honestly, I built this to scratch my own itch, but it ended up saving me a ton of time. Now I’m just hoping it helps other Plasma devs too.

It’s open source, and I’d love your feedback, whether you try it, toss in some ideas, or feel like contributing. You’re welcome either way!

GitHub: https://github.com/PRASSamin/prasmoid

Let me know what you think!


If you’re into plasmoid dev, this might save you a lot of headache. 😄

  • Bro666@lemmy.kde.socialM
    link
    fedilink
    arrow-up
    4
    ·
    9 days ago

    Wow! Excellent work! Would you not want to make this an official KDE project and get the full support from KDE?

    • prassamin@lemmy.kde.socialOP
      link
      fedilink
      arrow-up
      4
      ·
      9 days ago

      Hello @Bro666, I really appreciate your kind words, they mean a lot. Making this an official KDE project is something I would really love to! but I’m still new to KDE, I just switched from GNOME a few days ago, and I created this tool after becoming frustrated with trying to create plasmoids the hard way. I’m fully dedicated to improving the developer experience, even though I’m still learning KDE’s procedures. I would be grateful of any advice or next steps to make this official.