Web application for an online shared scrap board implemented using Node.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
Paul van Tilburg 787032ed61 Fix startup instruction in the README 10 years ago
public Handle server request errors (only retry on timeout) (refs: #343ba1) 10 years ago
.gitignore Include jquery-ui.css, ignore it, and use the non minimized version of jquery-ui.js 10 years ago
.nodemonignore Prevent nodemon from restarting when client-side stuff is changed 10 years ago
COPYING Initial commit of the rework in Express/Node.js. 10 years ago
NEWS Fix some typos 10 years ago
README.md Fix startup instruction in the README 10 years ago
TODO Updated README.md and TODO for current feature set 10 years ago
app.js Prevent trying to update items that are not in the database 10 years ago
db.js Syntax consistency fix 10 years ago

README.md

Plemp!

Create your own online pile of junk! Plemp allows you to upload/put stuff on a single canvas, for sharing, collaging or any purpose you can think of.

Features

  • Adding content by means of typing/pasting text
  • Uploading of image/music/video/code/text files
  • (Re)arranging and resizing of the items
  • Some visual effects for eye candy purposes
  • Syntax highlighting of source code files
  • Distributed management of the arrangement, i.e. everybody viewing the Plemp page will (with some delay) see the same arrangement

Requirements

Plemp! is an Express (on node.js) application, so you need:

  • Node.js (>= 0.4.12) with
    • Express (>= 2.5.0)
    • Connect-Form (>= 0.2.0)
  • JQuery (>= 1.7.0)
  • JQuery UI (>= 1.8.16)

Installation

For now, Plemp! is in a developing state and not ready for site-wide deployment yet. However, before running, make sure that jquery.js, jquery-ui.js, and jquery-ui.css with images are available from public/ either by copying or symlinking them there.

Usage

Run from the command line:

$ node app.js

and head over to http://localhost:3300/ to view and use the Plemp! canvas.

Files can be uploaded or text can be pasted using the Add/Upload Dialog invoked by pressing the Plus key or the Plus button in the top-right corner. When your browser supports it, files can also be uploaded by dragging it and dropping it on the canvas. Once uploaded, the objects can be arranged by dragging them around and resized by using the resize handles.

License

Plemp! is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

N.B. The source code of this program includes code from external projects.

The following files are taken from the highlight.js library (see http://softwaremaniacs.org/soft/highlight/en/):

  • public/javascripts/highlight.pack.js
  • public/stylesheets/highlight.css

These files are licensed under the 3-clause BSD license: https://github.com/isagalaev/highlight.js/blob/master/LICENSE.

The following file is the Jeditable jQuery plugin (see http://www.appelsiini.net/projects/jeditable):

  • public/javascript/jquery-jeditable.min.js

This file is licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php.

The following file is the jQuery filedrop plugin (see https://github.com/weixiyen/jquery-filedrop):

  • public/javascript/jquery-filedrop.js

This file is licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php.