WebClipboard

Here you can find some info on WebClipboard, an app that extends your clipboard to the web.


What is webclipboard?


WebClipboard aims to extend a clipboard Internet-wide. It uses an FTP or Web server to store the clips. It supports HTTP (and proxies) via a PHP upload page that must be installed. So far only text is supported.

So what the heck do I use it for?

Well, in all windowed environments you can use the 'cut and paste' operations, to move text and other data inbetween applications and within one application. WebClipboard lets you cut and paste inbetween computers (and operating systems/window environments) so you can cut on one computer and paste it in on another computer as long as they are connected via the public internet for instance, if you are using one computer to code on (Linux) and one to surf on (windows), and you see some cool code snippet on the web that you want to steal, you can cut it on the windows machine, use WebClipboard, and paste it in on your Linux machine! That's what you use it for. =)


Documentation


WebClipboard configure:

First you must configure WebClipboard, this is done via the 'Open preferences' icon. Here you enter your ftp username, password and the ftp site to use. The format of the ftp site should be: ftp.machine-name.com. Example, ftp.netscape.com. The next option is the name of the file on the remote site which is used to store the clipboard. You must make sure that this name does not collide with any files you have on the site since it will be overwritten.

If you use WebClipboard with http, the preferences dialog will be dependant on which driver you have checked (Use Ftp or Use Http).

The http settings should be configured as follows. The 'WC Filename' is the same as with ftp, only that if you change from the default wc.txt you must also change it in the 'upload.php' file. Http base url is the site and directory in which you have 'upload.html' and 'upload.php' stored and this is where 'wc.txt' will be stored. Example: http://www.gnuciti.com/webclipboard/ (observe the trailing slash!). Http form page should be 'upload.html' unless you change that filename, and the same is valid for Http Post page, ie. it should be 'upload.php'.

There is also a 'proxy setup' button with which you configure your proxies.

Security:

There is some security in WebClipboard. The password is not encrypted in transit though (as usual with ftp), and the clipboard file is readable on the ftp site, so if the ftp site is accessable via http (if it is a website) it can be read via a browser. If you save your preferences via the save preferences button, your password will be stored in cleartext in a file in your home directory, unless you use the more secure version where you must install JCE. One alternative if you don't want to use the JCE enabled app is to enter all BUT the password and save your preferences, the all you need to fill in is your password, each time.

Security

There is now a version which supports the use of DES encryption of the password in the properties file. This version requires that you have SUN's Java Cryptography Extension (JCE) installed.

This is easy to install:
Donwload from SUN and put the supplied JAR's in the <JAVA_HOME>/jre/lib/ext/ directory, and you are all set to go!

Note that this only encrypts the password in the local properties file, not in transit over the net. To use the (more) secure WebClipboard, just call it in the same way as before, but add the filename of a secret key, if you haven't got a secret key already just make a filename up, and WebClipboard will create this file. You must remember the name of this file, because you will need it the next time WebClipboard is started or else WebClipboard will try to pass your DES encoded password as the password to your ftp site and propably fail with the login. =) If you forget the filename of your secret key, just remove your properties file and redo your settings.

Daemon:

You can now start a daemon which, polls the clipboard continously and when it finds a new clip it automagically uploads it, so that you don't have to manually push webcopy.

Feature News! (2004-04-04)

Added support for sharing clip text via a shared disk, added windows system tray support.

Thanks:

WebClipboard uses the following libraies, thanks goes to the authors of these for making them publicliy available!

HTTP Client

FTP Client

Future work:

I'm still not entirely satisfied with the HTTP version, so if you have any elegant solution to this, please contact me, I was thinking of using the HTTP put method, but I'm not sure it will work in general... I also want to add support for ssl in some way. Some native code to get the clipboard without actually having to push copy and paste would also be nice, maybe I'll hack together some daemons for that, if someone knows some code for Linux, Mac and Windog which does that it would be nice to hear from you!

Enjoy!

And don't forget to send bugreports, suggestions and feedback to lejon at ju dash jutsu dot com. This documentation and downloads will be available at http://www.ju-jutsu.com/webclipboard/.

WebClipboard requires that you have Java installed you can find one version here: SUN's Java

Latest


2005-01-26 Java webstart enabled through this link

2004-04-04 Shared disk, windows system tray support

2002-09-28 Demonized, removed beta status

2002-09-06 Minor fixes (dialog texts, docs, tooltips)

2002-09-05 Http beta release

2002-08-31 Initial public release

Download HTTP (Latest version) (Requires JCE)

webclipboard-20040404.zip (zipped file with jar and README, html and php pages, install.bat for windows)

Usage


java -jar webclipboard.jar <secret_key_filename>


Download (old versions, no encryption)


webclipboard-http.jar
webclipboard-http.zip (zipped file with jar and README, html and php pages)

webclipboard.jar

Usage


java -jar webclipboard.jar


Download password encoding (old) version (Requires JCE)
(no http, no demon, generally, don't use this unless you have to)


webclipboard.jar
webclipboard.zip (zipped file with jar and README)

Usage


java -jar webclipboard.jar <secret_key_filename>


Screenshot

[WebClipboard screenshot]
[Windows System Tray screenshot]
 
www.ju-jutsu.com