GithubHelp home page GithubHelp logo

cumany / obsidian-plugin-downloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luckman212/obsidian-plugin-downloader

0.0 0.0 0.0 1.58 MB

Search, download and explore the growing library of Obsidian plugins!

Shell 100.00%

obsidian-plugin-downloader's Introduction

icon

Obsidian Plugin Downloader

Demo Video

demo.mp4

What?

This is a script to search, download and maintain a local repository of Obsidian plugins, which can be used as a reference for your own research and development.

Why?

As an absolute beginner to TypeScript, and a lover of Obsidian I often want to take a look at how someone has achieved a certain feature, called on an API, etc. A quick way to do that is by searching through the existing codebase of the ever growing library of plugins out there.

Setup

  1. First, set up your environment to have jq, fzf, and gh. On macOS the simplest way to do that is with Homebrew: brew install jq fzf gh.
  2. Copy the obsidian-plugin-downloader.sh script to a directory in your $PATH
  3. Make sure it's executable (chmod +x obsidian-plugin-downloader.sh)
  4. You can adjust the $OUTDIR variable to set the destination directory of your choice (default: ~/Downloads/obsidian-plugins)

Run

  1. Open a Terminal window (bash, zsh, etc)
  2. Type obsidian-plugin-downloader.sh
  3. The list of plugins should be displayed. You can type in the search field at the top to filter the list—both the names and descriptions of the plugins are searchable.
  4. Choose one or more to download. You can move with the arrow keys, use <TAB> to select/deselect, or press ⌃A / ⌃S to select/deselect all.
  5. Make your selections and press <ENTER>
  6. Plugins should be downloaded!

The script will automatically check to see if you have the latest version of the plugin, and will download newer versions as needed.

Next...

It's nice to have a tool like ripgrep to search through the code if you are looking for API references etc. For example:

rg 'this.app.workspace.onLayoutReady' --glob '*.ts'

obsidian-plugin-downloader's People

Contributors

luckman212 avatar

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.