Giter Site home page Giter Site logo

endlessflow / wiki2note Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.52 MB

a simple Obsidian plugin that allows for quick searches and note creation using the Wikipedia database as a single source of truth.

License: MIT License

JavaScript 15.00% TypeScript 72.61% CSS 12.39%

wiki2note's Introduction

Wiki2note for Obsidian

Introduction

Wiki2note is an Obsidian plugin born from personal challenges I faced in managing and organizing information effectively on Obsidian. It aims to simplify the process of creating a coherent and accessible knowledge vault by leveraging the structured repository of Wikipedia as a single source of truth.

How Wiki2note Works

Wiki2note simplifies knowledge management by addressing common issues such as note duplication and the challenge of identifying relevant keywords. By integrating directly with Wikipedia, it provides a consistent source of truth for note titles.

Here’s how it enhances your workflow:

  • Seamless Wikipedia Integration: The plugin uses Wikipedia's API to fetch and integrate articles into your Obsidian vault, reducing the friction during the keyword concept hunting process.
  • Automated Note Creation: If a concept doesn't exist in your vault, Wiki2note automatically creates a new note with the standardized title from the selected EN Wikipedia entry. This ensures consistency and prevent note fragmentation.
  • Encourages Discovery and Learning: By adding a summary and a direct link to the original Wikipedia article to the generated note, the plugin invites exploration and serendipitous learning.

Advanced Search and Multilingual Support with OpenAI GPT-3

Another features of the plugin is its integration with OpenAI's GPT-3, which comes into play when initial searches return no matches. This simple fallback mechanism enhances the plugin’s search functionality by introducing a semantic component to the process, enabling more nuanced and contextually aware queries.

  • Semantic Search Enhancement: When a query yields no results, Wiki2note leverages GPT-3 to reinterpret the search terms, considering their semantic meaning and context. This approach often leads to the discovery of relevant articles that might have been missed due to the rigidity of Wikipedia's keyword-based search.

  • Facilitating Serendipitous Discovery: This semantic search capability opens up avenues for serendipitous learning, guiding users to articles and concepts they might not have directly searched for.

  • Multilingual Query Support: Another significant advantage of integrating GPT-3 is its ability to bridge the language divide. Users can input queries in one language, and the plugin will still find the corresponding English Wikipedia article, ensuring all information remains anchored to a single, consistent source of truth.

Demo

Sorry. It seems you can't view GIFs on your device.

Getting Started

  1. Manual Installation: From the release, download main.js, styles.css, and manifest.json and place them in your VaultFolder/.obsidian/plugins/wiki2note/.
  2. Open AI Key: to use the gpt-3 enabled fallback search feature you need to set a valid openai API key as an environment variable called OPENAI_API_KEY.
  3. Usage: Activate the plugin in Obsidian and optionally set a custom keybind.

Developpers

This plugin is built from the official sample plugin realeased by the obsidian team. For detailed instruction on how to compile the plugin yourself and make modifications, please refer to the README of the official sample plugin.

TLDR :

  1. git clone https://github.com/Endlessflow/wiki2note.git inside your plugin folder
  2. npm i
  3. npm run dev (this compiles and listens to changes in your main.ts)
  4. make changes
  5. reload obsidian to see changes

License

Wiki2note is open-source, available under the MIT license. You’re encouraged to explore the code, contribute, or customize it to suit your workflow.

wiki2note's People

Contributors

endlessflow avatar

Watchers

 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.