This is the official Wails Vanilla template.
You can configure the project by editing wails.json. More information about the project settings can be found
here: https://wails.io/docs/reference/project-config
To run in live development mode, run wails dev in the project directory. This will run a Vite development
server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser
and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect
to this in your browser, and you can call your Go code from devtools.
To build a redistributable, production mode package, use wails build.
A minimalist, global hotkey-activated input box for quick commands and searches with Obsidian integration.
- Global Hotkey: Press
Ctrl+Spaceanywhere to activate the input box - Always On Top: Input box appears above all other windows
- Escape to Hide: Press
Escto hide the input box - Quick Obsidian Notes: Type anything to create notes directly in Obsidian
- Web Search Shortcuts: Use prefixes to quickly search the web:
!g query- Search Google!yt query- Search YouTube!gh query- Search GitHub!so query- Search Stack Overflow
-
Install Wails (if not already installed):
go install github.com/wailsapp/wails/v2/cmd/wails@latest -
Clone the repository:
git clone https://github.com/Priyabhunia/pop-up.git cd pop-up -
Setup Obsidian Integration:
- Install the "Local REST API" plugin in Obsidian
- Enable the plugin and copy your API key
- Either:
- Enter your API key in the app's settings panel (click the ⚙️ icon), or
- Create a
.envfile in the project root with:OBSIDIAN_API_KEY=your_api_key_here
-
Build and Run:
wails buildThen run the executable in the
build/bindirectory.
-
Development Mode:
wails dev -
Frontend Customization: Edit files directly in
frontend/dist/
- Launch the application
- Make sure Obsidian is running with the Local REST API plugin enabled
- Set your API key in the settings if you haven't already (click ⚙️ icon in the app)
- Press
Ctrl+Spaceanywhere to show the input box - Type your note content and press
Enterto save it to Obsidian - Press
Escto hide the input box
This app integrates with Obsidian through its Local REST API:
-
Requirements:
- Obsidian must be running
- The "Local REST API" plugin must be installed and enabled
- Your API key must be set either:
- Through the app settings (click the ⚙️ icon), or
- In the
.envfile
-
How it works:
- Text entered in the pop-up is sent to Obsidian as a new note
- The first line becomes the note title (and filename)
- The content is formatted as Markdown
Contributions are welcome! Feel free to open issues or submit pull requests for new features or improvements.
- Built with Wails
- Global hotkey using robotn/gohook
- Integration with Obsidian via Local REST API
