19260007-c9ac-4fd6-9307-0e845161a3c5 / org-linkz

Managing browser links in org file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

org-linkz

This is my template for managing browser bookmarks in org-mode. https://user-images.githubusercontent.com/1722672/58349259-19218500-7e63-11e9-9953-e24743fd91ea.png

Features

  • Manage browser bookmarks in org file
  • 1-click capture from any browser
  • automatic generation of HTML
    • live search
    • menu for top level categories

Installation

Clone repo

git clone https://github.com/p-kolacz/org-linkz

Configure Emacs

Change ~/org/ to your folder of choice.

(server-start)  ;; starts emacs as server (if you didn't already)
(setq org-html-validation-link nil)  ;; removes validation link from exported html file
(require 'org-protocol)
(setq org-capture-templates
        '(
          ("o" "Link capture" entry
           (file+headline "~/org/org-linkz/Linkz.org" "INBOX")
           "* %a %U"
           :immediate-finish t)
))
(setq org-protocol-default-template-key "o")

Add org-protocol support to OS

Linux

Add ~/.local/share/applications/org-protocol.desktop file with following content:

[Desktop Entry]
Name=org-protocol
Exec=emacsclient -n %u
Type=Application
Terminal=false
Categories=System;
MimeType=x-scheme-handler/org-protocol;

Run

update-desktop-database ~/.local/share/applications/

Windows

https://orgmode.org/worg/org-contrib/org-protocol.html#orgf93bb1b

MacOS

https://github.com/xuchunyang/setup-org-protocol-on-mac

Setup browser

Add bookmark for your favorite browser with following address:

javascript:location.href="org-protocol:///capture?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(document.title||"[untitled page]")

Add ~/org/org-linkz/Linkz.html to your browser bookmarks.

About

Managing browser links in org file.


Languages

Language:JavaScript 78.7%Language:CSS 21.3%