Giter Site home page Giter Site logo

joplin-plugin-bulk-note-creator's Introduction

joplin-plugin-bulk-note-creator

This is a simple plugin to be able to create bulk notes in Joplin.

Usage

Currently below variables can be used anywhere in Note title, body and the todo due (but this will discard any non number value).

variable options example
n none {n} - 1, 2, 3...
rec1 all formatting options supported by moment.js {rec1|YYYY-MM-DD} - 2022-01-16
rec2 same ^ {rec2|x} - 1642550400000

This input

Note Title: week {n} - {rec1|YYYY-MM-DD}
Note Body: dummy
Is ToDo: Yes
ToDo Due: {rec2|x}
Total: 5
Recurrence 1: 16/01/2022 (Mon: checked)
Recurrence 2: 16/01/2022 (Sun: checked)

will create (title/body/ToDo Due):

  • week 1 - 2022-01-17 / dummy / 2022-01-23
  • week 2 - 2022-01-24 / dummy / 2022-01-30
  • week 3 - 2022-01-31 / dummy / 2022-02-06
  • week 4 - 2022-02-07 / dummy / 2022-02-13
  • week 5 - 2022-02-14 / dummy / 2022-02-20

Motivation

I sometimes need to create many to-dos with a template and fill them only when I need them. I was planning to use Joplin data API first from a bash script but then I wanted to familiarize myself to plugin architecture too, therefore I decided to create this basic plugin. I am influenced by template plugin for the code structure.

The current state is satisfying what I need but there might be some improvement if it gets any attention.

Few ideas for improvement:

  • Add unit tests.
  • Support modifying {n} as integer (e.g. support usage of {n+1}).
  • Support other recurrence options that moment-recur library supports.
  • Add recurrence parameters dynamically to dialog box.
  • Show preview of the notes before creating them.
  • Support adding tags

Development

To build the plugin, simply run npm run dist. More on: https://joplinapp.org/api/get_started/plugins/

joplin-plugin-bulk-note-creator's People

Contributors

ahaltindis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

joplin-plugin-bulk-note-creator's Issues

Journaling with Joplin

Hi @ahaltindis

Thank you for this plugin !
I need help. I would like to know if it would be possible to create notes with the date as the title ? My idea is to journaling in Joplin so have a notebook with all the dates of the current year in it.

It would be possible thanks to your plugin ? I can't configure it properly ?

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.