Skip to content

jeisc/hashify.me

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hashify

Hashify does not solve a problem, it poses a question: what becomes possible when one is able to store entire documents in URLs?

Installation

  1. Install rbenv.

  2. Install dependencies:

    make setup
    
  3. Build:

    make
    
  4. Install nginx.

  5. Create a symlink to nginx.conf from wherever nginx sites live. For example:

    ln -s "$(pwd)/nginx.conf" /opt/local/etc/nginx/sites-available/hashify.me
    
  6. Activate the site if necessary. For example:

    ln -s ../sites-available/hashify.me /opt/local/etc/nginx/sites-enabled/hashify.me
    
  7. Reload nginx:

    sudo nginx -s reload
    

localhost

Hashify uses CORS in its communication with bitly. Though browsers don't allow this on localhost, one can use http://lvh.me for testing (lvh.me resolves to localhost).

About

Store entire documents in URLs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 53.4%
  • CSS 17.0%
  • Ruby 16.8%
  • HTML 8.2%
  • Makefile 4.6%