Skip to content

Managing browser links in org file.

Notifications You must be signed in to change notification settings

whudwl/org-linkz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.7%
  • CSS 21.3%