Code Monkey home page Code Monkey logo

obsidian-vault-changelog's Introduction

Obsidian Vault Changelog Plugin

This is a simple plugin that maintains a changelog of recently edited files in your vault. The changelog update can be triggered both manually and automatically.

Everything in the changelog note will be overwritten. It's best to use a dedicated changelog note and embed it in other notes.

How to Install

Manual installation

  1. Download zip archive from GitHub releases page.
  2. Extract the archive into <vault>/.obsidian/plugins.
  3. Reload Obsidian

From within Obsidian

You can install the plugin via the Community Plugins tab within Obsidian. Just search for "Changelog".

How to use

Once the plugin is installed and activated, you must provide it with the changelog file path.

You can update the changelog using the new command Vault changelog: update in the command palette.

You can configure two other options:

  1. Number of recent files to show in the changelog
  2. Automatic refresh of the changelog: this option automatically updates changelog on any note modification, deletion or rename.

Changelog file location

The changelog file location input is the full absolute path (including .md extension).

./
├── notes/
│   └── misc/
│       └── changelog.md
├── pictures/
├── some-note.md
└── some-other-note.md

If you want to use changelog.md from the example above, you should input notes/misc/changelog.md in the preference pane.

Development

This project uses Typescript to provide type checking and documentation.
This plugin depends on the latest plugin API in Typescript Definition format, which contains TSDoc comments describing what it does.

Note: the Obsidian API is still in early alpha and is subject to change at any time!

If you want to contribute to development and/or just customize it with your own tweaks, you can do the following:

  • Clone this repository.
  • npm i or yarn to install dependencies
  • npm run build to compile.
  • Copy manifest.json, main.js and styles.css to a subfolder of your plugins folder (e.g. <vault>/.obsidian/plugins/obsidian-vault-changelog/)
  • Reload obsidian to see changes

Notes

This is experimental and may have instability. It is possible that there are bugs which may delete data in the current note. Please make backups!

Common issues and solutions

Issue 1: Couldn`t write changelog: check the file path

  1. Create a new file, for example - notes/misc/changelog
  2. Go to Settings -> Plugin Option -> Vault Changelog
  3. Enter path in Changelog note location - notes/misc/changelog.md
  4. Restart Obsidian

Notes:

  • Make sure to keep a proper file path and a name, like the one I have used.
  • If you are creating a new file with Obsidian, then don't put a (.md) extension.

obsidian-vault-changelog's People

Contributors

badrbouslikhin avatar priyank-vaghela avatar

Stargazers

 avatar

Forkers

jleeagency

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.