Socket
Socket
Sign inDemoInstall

node-why

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-why

Zooomr koofers cotweet dropio plaxo plickers, sifteo heekya meebo plickers chegg


Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

why

Off-load expensive rendering operations to your back-end cloud servers, using the magic of nodejs.

Never again will you suffer from cross-browser inconsistencies, with this powerful application server (or "app server", if you prefer), all users, everywhere, get an 100% equal rendered page.

Demo: http://why-demo.herokuapp.com/

But how??

why (name pending) acts as a proxy to your static web application, by capturing requests, and dispatching them to a phantomjs instance, which captures a screenshot of your webpage, in its ideal webkit environment, at the correct dimensions for the user's device, and embeds it in a light-weight frame.

Pros:
  • it's ajaxy
  • faster
  • webkit
  • nodejs?!
  • retina ready probably
  • web scale
  • renders cross-browser issues a thing of the past
  • webkit
Cons:
  • none

Are you serious?

Well, it does actually work. Yes, you can even click links...mostly.

Usage:

  1. Install nodejs, npm.
  2. Install phantomjs, make sure it's in your $PATH: $ npm -g install phantomjs
  3. Clone this repo: $ git clone https://github.com/filp/why.git
  4. Install dependencies: $ cd why && npm install
  5. Start the server: $ cd why && bin/server.js [--port 8181 --privPort 9292 --root /path/to/your/app]
  6. Check it :cat:

To-do:

  • Add a kick-ass example web app

Keywords

FAQs

Package last updated on 07 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc