Skip to content

This template is the foundation for building modular Obsidian plugins. It includes all necessary config and build files to get started with TypeScript, plus bonus features aligned with VaultOS development, including structured folders for subplugins, compiled logic, and standardized automation patterns.

Notifications You must be signed in to change notification settings

PtiCalin/temp_repo-obsidian-plugin

Repository files navigation

🔌 VaultOS Plugin Template | Obsidian

A modular beginning to powerful plugin architecture — designed the PtiCalin way.

Welcome to the VaultOS-style Obsidian Plugin Template — structured, scalable, and friendly to creators.
Built to streamline development, boost creativity, and follow best practices recommended by the Obsidian community.

License: MIT
Status: In Progress
PRs Welcome
Sponsor PtiCalin


🧰 Features

  • 🧠 TypeScript-based Obsidian plugin scaffold
  • 🎯 100% compatible with Obsidian sample plugin structure
  • ⚙️ Rollup-powered build system
  • ✨ Includes GitHub workflows, issue templates, and PR templates
  • 📦 Clean modular layout for faster scaling
  • 💬 Optional Discussions and Sponsor links

🚀 Getting Started

Clone the repo and install dependencies:

git clone https://github.com/your-username/temp-repo-obsidian-plugin.git
cd temp-repo-obsidian-plugin
npm install
npm run build

Then copy the dist/ folder into .obsidian/plugins/your-plugin-id/ in your Obsidian vault.


🛠 Dev Mode (Live Compile)

Use live watch mode to iterate quickly:

npm run dev

Make changes to src/main.ts (or other .ts files), and they'll recompile on save.


🧱 Folder Structure

📦 temp-repo-obsidian-plugin/
├── .github/              → Issues, PR templates, workflows
├── dist/                 → Final build (used by Obsidian)
├── src/                  → TypeScript source files
├── main.ts               → Entry point (if not using src/)
├── styles.css            → Optional plugin styles
├── manifest.json         → Plugin metadata
├── package.json          → Build scripts & dependencies
├── rollup.config.js      → Bundler setup
├── tsconfig.json         → TypeScript config
└── README.md             → You're here!

🔄 Releasing a New Version

To publish a new release:

  1. Update manifest.json and versions.json
  2. Run:
npm version patch | minor | major
  1. Create a new GitHub release:
    • Tag must match the version (e.g., 1.0.1, not v1.0.1)
    • Attach main.js, manifest.json, and styles.css

See sample-plugin releases for reference.


🌐 Adding Your Plugin to Obsidian's Community List

  1. Ensure your repo has:
    • manifest.json
    • main.js
    • README.md
  2. Follow the official plugin submission guide
  3. Submit a PR to obsidian-releases

🤝 Contributing

We love PRs, discussions, and feedback!

See CONTRIBUTING.md for full guidelines.


📜 License

MIT — open for remixing, improving, and learning from.
Please credit and consider sharing back improvements.


💌 Sponsor

If this template helped you get started faster or with more clarity,
consider supporting PtiCalin's ongoing plugin ecosystem and modular tooling work:

github.com/sponsors/pticalin


Have fun building. Spend less time structuring and more time imagining.

About

This template is the foundation for building modular Obsidian plugins. It includes all necessary config and build files to get started with TypeScript, plus bonus features aligned with VaultOS development, including structured folders for subplugins, compiled logic, and standardized automation patterns.

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published