Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bahamas10/node-pins
Create Pinterest style pins for your own files over HTTP
https://github.com/bahamas10/node-pins
Last synced: about 2 months ago
JSON representation
Create Pinterest style pins for your own files over HTTP
- Host: GitHub
- URL: https://github.com/bahamas10/node-pins
- Owner: bahamas10
- Created: 2013-09-06T22:49:26.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-09-13T20:03:29.000Z (over 6 years ago)
- Last Synced: 2024-05-08T20:00:58.501Z (8 months ago)
- Language: JavaScript
- Size: 245 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pins
====Create Pinterest style pins for your own files over HTTP
![pins](http://www.daveeddy.com/static/media/github/pins.png)
*still in beta*
Installation
------------npm install -g pins
Example
-------Navigate to a directory and run `pins` to fire up a webserver to view your files,
your default web browser will be opened automatically if possibledave @ [ manilla :: (Darwin) ] ~/Desktop $ pins
[2013-09-07T21:17:22.986Z] server started: http://localhost:8087
[2013-09-07T21:17:23.231Z] 127.0.0.1 GET 200 / (8ms)
[2013-09-07T21:17:23.385Z] 127.0.0.1 GET 200 /background.png?private (105ms)
[2013-09-07T21:17:24.039Z] 127.0.0.1 GET 200 /Screen%20Shot%202013-09-07%20at%205.16.00%20PM.png (764ms)Features
--------Multimedia (audio, video, and pictures) will show up as pins with previews. Audio album art
will also be displayed if it is found.You can reorder the pins, and the order will persist; the order is sent via `POST` from the browser
to the node server, and is saved in the directory as `.pins.json` (like Mac OS X with `.DS_Store`). You
can disable this behavior by passing in the `-x` option, which will disable the server from trusting data
from the client.Usage
-----$ pins -h
Usage: pins [-d dir] [-H host] [-p port] [-v] [-u] [-h]Options
-d, --dir the directory to serve out of, defaults to cwd
-h, --help print this message and exit
-H, --host the host on which to listen, defaults to localhost
-i, --index show index.html/index.htm files if found, defaults to false
-l, --limit max number of files to process in a directory, defaults to 5000
-n, --no-open don't open the default browser upon starting
-p, --port the port on which to listen, defaults to 8087
-u, --updates check for available updates
-v, --version print the version number and exit
-x, --no-reorder disable persistent pin rearrangingTodo
----- add `-c` option for a JSON config file
- add more backgrounds, allow each folder to have it's own background
- handle loading in data as the user scrolls... right now everything crashes if a directory has a lot of mediaCredit
------- Style influenced by http://pinterest.com
- CSS adapted from http://cssdeck.com/labs/css-only-pinterest-style-columns-layout
- Background Patterns from http://subtlepatterns.com/License
-------MIT