Skip to content

deanh/urlnotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URLNOTES: A (less cute now that it's no longer one file) hack to add annotations to any web page.

Run the sinatra app, then access /edit?url=<some URL you'd like to make notes about> in your favoritely flavored web-browser.

It's now using an sqlite datastore and no longer injecting HTML and CSS, but the iframe can cause the URL to persist weirdly if you try to navigate around via links inside the iframe. This shouldn't be an issue if you access it via the bookmarklet and then submit from there.

You need to run lib/url_note.rb as a script to build out the tables in your database before this will run. rake create_db will do this for you. So,

$ rake create_db && rake test
$ ruby ./urlnotes.rb &

User credentials are set in config/config.yaml. Here's the bookmarklet I've been using to access it:

  javascript:document.location="http://127.0.0.1:4567/edit?url="+document.URL

About

Make notes about web pagez while you look at them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages