Skip to content

Tool to parse the frontmatter of Obsidian MD daily notes and push tags to InfluxDB

Notifications You must be signed in to change notification settings

Geronimoes/obsidian_to_influx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obsidian to Influx

Tool to parse the frontmatter of Obsidian MD daily notes and push tags to InfluxDB.

The intention was to be able to create a Grafana dashboard with this data, however it's been WIP for some time.

Usage

When running for the first time, tags from all notes up until the previous day are pushed to Influx, with a timestamp based on the note's date.

On subsequent runs, tags are only pushed for notes starting the day after the latest timestamp on Influx. Some tags can be missed due to this.

Docker

This is a one off run rather than a continuous program. Therefore, setting up a cron job to start the container (e.g. once a day) is the best way to use this.

Env Variables

Variable Description
DB_HOST InfluxDB host
DB_PORT InfluxDB port
DB_NAME InfluxDB database name
VAULT_PATH Path to Obsidian vault
NOTES_DIR Directory of daily notes to be parsed

Without Docker

Compile and run after setting env variables

About

Tool to parse the frontmatter of Obsidian MD daily notes and push tags to InfluxDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 92.9%
  • Dockerfile 7.1%