neozhang / you-and-your-research

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

You and Your Search

Research is an essential task performed by 1 billion knowledge workers. Many people also do research in their daily lives, such as travel planning.

Research requires intensive information retrieval, usually from long-form materials. This requires focus and attention. However, the current toolset for researchers usually requires them switch among many contexts: search engines, AI chats, file explorers, etc. This is very inefficient. Consolidating these tools into a single, integrated interface, like Obsidian, can greatly improve research efficiency. This allows for seamless transitions between tasks without disrupting focus, creating a flow just for You and Your Research.

The name of the plugin was obviously inspired by the infamous speech by Dr. Richard W. Hamming in 1986. You can retrieve the text at https://www.cs.virginia.edu/~robins/YouAndYourResearch.html.

Get Started

Install and enable the plugin from Obsidian's Community Plugins platform.

Main UI

Setup

REQUIRED You will need to bring your own API key for using OpenAI. You can get it from the OpenAI Dashboard. Add it in the plugin settings.

You can also provide a custom endpoint for OpenAI API. This is useful if you are using a self-hosted version of OpenAI or compatible API.

You can choose gpt-3.5-turbo or gpt-4o as your model of choice. You can also use a custom model name such as llama3-70b-8192. Refer to the API documentation for available model names.

OPTIONAL The plugin also uses Jina AI to extract the content of the web pages you read. You can also bring your own API key for using Jina AI. You can get it from the Jina website. Add it in the plugin settings.

OPTIONAL You can also set your preferred location and tag for saved files. The default location will be the root of your vault.

Settings

Research at Work

You will see the plugin in the right sidebar, with an icon of microscope. Here is what you can do with it:

  1. Web content
    • You can input any URLs in the search box and press Enter (or click the search button). The plugin will then use Jina AI to extract the content of the web page and display it as a card.
    • You can save the card to your vault by clicking the "Save" button, which will turn to an "Open" button to open the saved note. Saved card will have a "URL" property.
    • Or you can click "Research" button to use OpenAI to generated research notes.
  2. Local content
    • You can input double bracket "[[" (just like you do in the Obsidian editor). The plugin will start to search your vault for files.
    • Choose the one you want to resarch on and click "Research" button.
  3. Research
    • The research notes will also be displayed as cards. You can click them to see in full details.
    • You can click the "Copy" button to copy them to your clipboard.
    • Click the "Save" button to save them to your vault, which will turn to an "Open" button to open the saved note.
    • Saved research notes will have a "URL" property, backlinking to its original note.

Future Development

This is an opinionated software. I created it to help with my own work. And it did work for me. For future develpoment, I do have some ideas on mind:

  • Importing YouTube videos and podcasts
  • Better integration with the Obsidian editor
  • Searching the web (?)
  • Streaming the output (?)

Please show your support if you find it helpful:

About

License:GNU General Public License v3.0


Languages

Language:TypeScript 82.2%Language:CSS 13.1%Language:JavaScript 4.7%