Auto Sequential Filename

approved

by yueyinfeng

Create Markdown files with sequential filenames such as GS0001 and RY0001. - This plugin has not been manually reviewed by Obsidian staff.

14 downloadsUpdated 10d agoMIT

Auto Sequential Filename

Auto Sequential Filename is an Obsidian plugin that creates Markdown files with sequential filenames, such as GS0001.md, GS0002.md, or RY0001.md.

这个插件适合为固定文件夹自动创建带顺序编号的笔记,例如公司列表、人员列表、项目档案等。

Current release target: desktop Obsidian. Mobile support has not been verified yet.

Features

  • Configure multiple target folders.
  • Use a different filename prefix for each folder.
  • Set the starting number and digit count.
  • Reuse the smallest missing number before creating the next larger number.
  • Create and open the new Markdown file from the command palette.

Usage

  1. Open Obsidian Settings.
  2. Go to Community plugins and enable Auto Sequential Filename.
  3. Open the plugin settings.
  4. Add a target folder configuration.
  5. Run the command 创建顺序文件 from the command palette.
  6. Select the target folder.

Example configuration:

FolderPrefixStart numberDigitsResult
15_关系/公司列表GS14GS0001.md
15_关系/人员列表RY14RY0001.md

If GS0001.md and GS0003.md already exist, the plugin creates GS0002.md first.

Manual installation

  1. Download main.js and manifest.json from the latest GitHub release.
  2. Create this folder in your vault: .obsidian/plugins/auto-seq-filename/.
  3. Put both files in that folder.
  4. Reload Obsidian and enable the plugin.

Development

npm install
npm run build

Release

  1. Make sure manifest.json and package.json use the same version.
  2. Run npm run build.
  3. Create a GitHub release whose tag matches the manifest version, for example 1.0.0.
  4. Upload the release assets listed below.
  5. Submit the GitHub repository URL in the Obsidian community plugin directory.

Release assets should include:

  • main.js
  • manifest.json
  • styles.css

Community plugin submission checklist

  • README.md explains what the plugin does and how to use it.
  • LICENSE is present.
  • manifest.json has a stable plugin id, name, version, and description.
  • data.json is not published because it contains local user settings.
  • GitHub release tag matches manifest.json version, for example 1.0.0.

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.