Skip to content

jferrara77/pageshot

 
 

Repository files navigation

Pageshot

Build Status

This is a prototype for a product to create better sharable assets. It uses techniques like copying/freezing the DOM, optionally showing history, allowing inline comments, taking clips and screenshots.

You can view the site (with a link to install the Add-on) at pageshot.dev.mozaws.net

It is implemented as a Firefox Add-on, using the Add-on SDK and a website using NodeJS. The addon is in addon/, and the website is in server/

Ian has been blogging about the design, definition, and development process.

Installation and Setup

Install Postgres.

Install node.js. Version 0.12 is required.

Clone the repository.

There are two scripts to run the server locally and develop the addon:

  • ./bin/run-server will run the server on localhost:10080 and automatically restart if there are changes
  • ./bin/run-addon will build the addon, start Firefox with the addon installed (you must have Nightly or Developer Edition)
  • ./bin/run-chrome-builder will build the Chrome version of the add-on in build/chrome-extension/, and watch for changes and rebuild as necessary

By default, PageShot will connect to a postgres database on localhost:5432. To change which database and user it connects to set/export the environmental variables: RDS_USERNAME, RDS_PASSWORD, and RDS_HOSTNAME

The server will automatically setup the tables in your database, and keep them up to date over time (using pg-patcher).

We apologize but we have no story for development on Windows.

Addon auto-reloading

To make the auto-reloading of the addon work, after you first start Firefox using run-addon you must manually install the autoinstaller addon into your development profile. This will allow the script to push updates into the browser without browser restarts.

Participation

There is an IRC channel #pageshot on irc.mozilla.org.

We hold daily standups each Monday and Wednesday at 1:30pm Eastern, 12:30pm Central, 10:30 Pacific. Meetings typically last 20 minutes, and we just discuss whatever we're working on. Feel free to stop by and say hi. Follow this link to join the meeting (you'll have to install the Vidyo video conferencing software, sorry). Please don't join with your video turned off, it's a conversational meeting and we like to know who is part of the conversation. If someone is out for some reason we may cancel this meeting, check in on IRC if you are unsure.

Planning and ideation is happening in the issue tracker. We use a pattern roughly like:

Issue tags otherwise aren't very structured. Research is primarily analysis of other products that do something interesting, or some source material that could provide insight. Input on these (things like "I like this product because...") is very helpful!

Also Ian blogs regularly about PageShot.

About

An experiment in creating better shareable versions of content

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 82.2%
  • CSS 9.9%
  • Shell 3.4%
  • HTML 2.3%
  • Makefile 1.8%
  • Python 0.4%