All Projects → cobyism → shapeshifter

cobyism / shapeshifter

Licence: MIT License
An always-on, in-browser, responsive design testing environment.

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Shapeshifter

Shapeshifter is an in-browser responsive testing environment. Here’s a demonstration.

Shapeshifter

Keyboard Shortcuts

In the demonstration above (and when using Shapeshifter yourself), the following keyboard shortcuts are available:

  • alt-shift-u: Browser viewport
  • alt-shift-i: iPhone 3G/4 viewport
  • alt-shift-o: iPhone 5 viewport
  • alt-shift-p: iPad viewport
  • alt-shift-l: Rotate viewport (only available for mobile viewports)
  • alt-shift-g: Go to a new location

Why use Shapeshifter?

Responsive design for the web requires thought throughout the entire design process, however current tools for testing the responsiveness of designs and interfaces, such as bookmarklets and single-purpose sites, have many inherent drawbacks that make them practical to use only as an afterthought, or at best as a sparodic spot-check.

What we need—and what Shapeshifter aims to be—is a tool that allows you to pay constant attention to your design and how it behaves in various common viewport sizes. My goal is for Shapeshifter to become an in-browser testing environment that stays with you throughout all stages of your projects.

How do I install this thing?

This project is still in its early stages, so the actual usage is far from polished. Ideally you should be able to use this in a number of ways.

Drag and drop

Anyone should be able to use Shapeshifter with only the files in the repository.

  1. Download this project as a Zip folder
  2. Extract the contents, and place in the root directory of your project.
  3. Ensure the extracted subfolder is named shapeshifter.
  4. Add /shapeshifter to the end of your project’s URL.

Add as a Git submodule

If you use Git to manage your project, you can add shapeshifter as a submodule to easily pull in Shapeshifter updates.

  1. At your command prompt, cd into your project’s root directory.
  2. Next, run the command: git submodule add https://github.com/cobyism/shapeshifter.git shapeshifter
  3. Then commit the result: git commit -m "Add Shapeshifter as a submodule"
  4. Add /shapeshifter to the end of your project’s URL.

Future options

In the future, I’d like to experiment with other ways to allow people to use Shapeshifter too, such as:

  • Creating a Rubygem (or similar) that allows people to quickly run Shapeshifter as a development server with the current directory as the web root. This would be similar to the server command that Yeoman has.
  • Releasing plugins specifically designed for various development stacks, such as Ruby on Rails, Yeoman, and so forth.

Help wanted!

I’d love to receive contributions from anyone who cares to contribute. It doesn’t matter how big or small your contribution is—whether it’s fixing a typo, adding a feature, or proposing an overhaul to the whole project—I’ll gladly take a look at your change, and merge it in (within reason).

License

See LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].