Coder Social home page Coder Social logo

quorafind / obsidian-search-on-internet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hemile/obsidian-search-on-internet

0.0 0.0 1.0 4.19 MB

Add context menu items in Obsidian to search the internet.

Home Page: https://publish.obsidian.md/semantic-obsidian/Search+on+Internet+Plugin

TypeScript 90.31% JavaScript 6.86% CSS 2.83%

obsidian-search-on-internet's Introduction

Downloads Github latest release Documentation chat on Discord

Warning: The right-click menu is currently broken in the latest Obsidian release, so this plugin will not work as expected!

Search on Internet

Adds the option to search selected text on external websites, like Google and Wikipedia. The search opens in an iframe in Obsidian. You can add your own websites!

It also adds the search options to the file context menu to search based on the title of a note. And you can choose to open searches in your default browser instead of Obsidian.

You can also right-click on an internal link to perform a search on that link:

And similar for external links:

Settings

Note: You need to have the latest Obsidian v0.10.11 installed for this plugin to work!

By default, the plugin comes with searches on Google and Wikipedia. You can add your own websites to search on in the settings.

For each website, fill in the following three fields:

  • Name: The name of the search. This will be displayed in the search bar and the context menu.
  • URL: The URL to open. {{title}} will be replaced by the current notes title. This is used as the 'query'.
  • Tags (optional): A list of tags for notes to display the search option on. In the example screenshot, this is used to only add the IMDB search on notes tagged with #actor, #movie or #director (in Dutch!)

You can also disable the iframe search and open the search in your browser.

Contributors

  • nhaouari added the setting not to encode, and started work on opening external links in iframes.

Credits

Settings code is mainly taken from the Templater plugin by SilentVoid13

Modal code is inspired by the Citation plugin

obsidian-search-on-internet's People

Contributors

hemile avatar quorafind avatar

Forkers

nhaouari

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.