Skip to content

bromanla/obsidian-omdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎥 Obsidian OMDB

About

I’m continuing a series of small projects aimed at learning the Go language and its ecosystem.

For a long time, I’ve been using Obsidian to keep personal notes. While exploring available resources, I came across a video by FromSergio, where he explains how to search and add movies from OMDb into your vault.

Although I used this solution for some time, my preference for simple, clear, and “clean” tools turned out to be more important. That’s how the idea was born to move this functionality into a standalone service with convenient interaction through a Telegram bot.

At first glance, the solution might seem excessive, but I have two solid reasons:

  1. I’m building it primarily for personal use
  2. I have plans for further development of the project

For synchronization, I use Syncthing on a server that’s always online. The application is designed with this setup in mind. New movies will be added to the library and synchronized via Syncthing to all other devices.

🌐 Environment Variables

Create a .env file in your project folder with these:

Variable Description
OMDB_KEY OMDb API key for movie searches
TELEGRAM_KEY Telegram Bot API token
TELEGRAM_ADMIN Telegram user ID for access whitelist
OBSIDIAN_PATH Path to Obsidian vault folder for saving notes

📦 Installation

  1. Clone the repository:
git clone https://github.com/bromanla/obsidian-omdb
  1. Build binary:
bash ./bin/build.sh
  1. Install as systemd service:
bash ./bin/install.sh

runs as current user

To uninstall:

bash ./bin/uninstall.sh

⚙️ Usage

  1. In Telegram, use: /movie (e.g., /movie "The Matrix", /movie tt0133093).
  2. Select movie from inline buttons.
  3. Preview details and poster.
  4. Confirm to save Markdown note to Obsidian vault.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors