GithubHelp home page GithubHelp logo

zstar2002 / obsidian-commits Goto Github PK

View Code? Open in Web Editor NEW

This project forked from darakah/obsidian-commits

0.0 0.0 0.0 2.38 MB

Track & show commits in obsidian vault or specified project.

JavaScript 2.25% TypeScript 95.93% CSS 1.83%

obsidian-commits's Introduction

Obsidian Commits

GitHub release) GitHub all releases

Track & Review changes in obsidian vault or specified project. (Github like commit review)

Example

Features

  • Track an obsidian vault / project's growth

  • Growth is divided into 4 categories:

    • Create: Creating new notes
    • Expand: Increase size of already existing notes (threshold of change can be changed in settings, default 15% increase in size)
    • Link: Tag / Link a note (new connection)
    • Refactor: Restructuring includes deleting files, decreasing size of a file by a certain amount (default 15%), renaming, untagging and unlinking
  • A unit of work is reffered to as a commit and is classified in one of the 4 categories above

  • Show commits over hour of day

  • Show commits over day of the week

  • Show recent commits

  • Track specific project or vault

  • Custumize width / height / alignment / fill color / grid color of the different render blocks

IMPORTANT: file size change / tag & link change are updated every 5 min!!

Usage

  • To display a specific block use its corresponding block id: commits-recents, commits-type, commits-weekly, commits-daily

  • Each line represents a certain argument. Arguments are identified by with the following syntax: argumentName=argumentValue for e.g. to set div width: divWidth=50 which sets the container width to 50% of the note width.

  • Each argument must be on a separate line.

  • Arguments can be in any order

  • Arguments that are not specified are set to default values

  • Arguments are: project, topCommits, borderColor, gridColor, fillColor, divWidth, divHeight and divAlign

  • For the blocks commits-type, commits-weekly, commits-daily, parameters are the following:

    • Project Path, by default only the whole vault is tracked and can be shown /. To track a new project use the settings tab of the plugin.
    • Div width in %
    • Height in Pixels
    • Fill color
    • Border color
    • Grid color
    • Div container alignment i.e. right or left
  • For the block commits-recents parameters are:

    • Project Path, by default only the whole vault is tracked and can be shown /. To track a new project use the settings tab of the plugin.
    • Div width in %
    • Height in Pixels
    • Fill color
    • Top number of recent commits to show for each category
    • Div container alignment i.e. right or left

Settings:

Release Notes

v0.2.2

  • Code improvements & optimization

v0.1.2

  • Initial release

Support

Github Sponsorship BuyMeACoffee

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.