FreenetWiki : FreenetJsite

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2008-10-02 02:42:21 by Luke771 [merged with my jSite page [[jSite]]]

Additions:

jSite

A Freesite uploading tool
develped by by Bombe

What is jSite

jSite is a tool that you can use to insert freesites into the Freenet distributed storage.
Creating a freesite is done in two steps, first you build a website in HTML, then you upload your creation to Freenet. That's when jSite comes into the picture: with a nice user-friendly point-and-click interface and five languages to choose from, uploading freesites couldn't be easier.
jSite is written in Java; it will run on any java-enabled operating system, no need for Windows versions, Mac versions, etc: one file fits all - and that file is jSite.jar

Getting jSite

You can the latest version from the official Freenet website:
http://downloads.freenetproject.org/alpha/jSite/jSite.jar

Using jSite

First and foremost, jSite requires Java 1.5 or better and a Freenet node installed and running.
Howto Page
Learn how to use jSite at the jSite Howto page with Screenhots
Quick Howto

Some Theory

not much, I promise

A word about keys

No need to go into the details of Freenet keys here. Basically you need a key to get a file from Freenet, including html files that freesites are made of.
When you insert a freesite, jSite generates both a public and a private key for your site.
The public key is "the key to the site" that you announce on FMS and other Freenet users paste into their browsers to visit your freesite.
The private key is stored on your computer. jSite uses it when you update your freesite, which means that if you lose the directory where jSite stores its data, you won't be able to update your freesite(s). Therefore, you don't want to lose the jSite data directory. Back it up and back up the back-up
So back the f* up!
As we have seen, you definitely want to back up the jSite application data folder.
Remember to update your back-up often, ideally every time you update a freesite.
Windows users
On Windows, jSite data is stored in
C:\documents and settings\<user>\application data\.jSite
where <user> is your user name.
NOTE - Windows hides 'Application Data' folders by default: you may have to change the settings in Windows Explorer.
Real OS's users
If your operating system is Unix-based (that includes Ubuntu and any other Linux distribution, plus another bunch of operating systems) the folder you want to back up is:
/home/<user>/.jSite
where <user> is your user name
NOTE: on Unix-based systems, folders with a dot at the beginning of the name are invisible by default. Enable 'show invisible files' in order to see them
(editing needed, here!) => Mac OSX and the whole Mac family are also Unix-based: I guess the jSite app data may be in /home/user/.jSite <= (editing needed)

Now what?

So far, we have downloaded jSite, we have learned that we can use it to upload freesites into the Freenet distributed storage, and also that it is important to back up a folder called .jSite. Now what?
Now you're ready to try and insert your first freesite:
Click HERE to go to the jSite Howto Page


Deletions:

jSite

jSite is a graphical application that you can use to create, insert and manage your own Freenet sites. It was written in Java by Bombe. It comes packaged with the Freenet installer, so it should be in your main Freenet directory.

Using jSite

First and foremost, jSite requires Java 1.5 or better.




Edited on 2008-05-06 01:12:28 by XtremeWays [Minor typo]

Additions:

Troubleshooting



Deletions:

Troubleshooting





Edited on 2008-05-06 01:11:45 by XtremeWays [Added description of command line options, and --debug]

Additions:

Troubleshooting

If something goes wrong, jSite often displays a very generic error message:
"Insert failed. The insert of the project failed. Some files could not be inserted"
The best way to troubleshoot jSite is to run it with --debug option, as follows:
$ java -jar jSite.jar --debug
Debug message often describe the exact error that happened.

Command line options

jSite has a few command line options that can be seen by using --help option:
$ java -jar jSite.jar --help
--help shows this cruft
--debug enables some debug output
The important in practice is debug option.





Edited on 2007-09-23 18:22:15 by NogaSo [Removed the links to the freesites as they were pre-1010]

Deletions:

See also

These are Freenet 0.7 links, so you need Freenet running to use them:
jSite is a graphical application that you can use to create, insert and manage your own Freenet sites. It was written in Java by Bombe. It comes packaged with the Freenet installer, so it should be in your main Freenet directory.

Using jSite

First and foremost, jSite requires Java 1.5 or better.
Run the application by typing this at the command line:

See also



Deletions:

jSite

jSite is a graphical application that you can use to create, insert and manage your own Freenet sites. It was written in Java by Bombe. You can download it from here: http://downloads.freenetproject.org/alpha/jSite/.
Download the jSite.jar file and store it somewhere (in your Freenet installation directory maybe?).
Run the application by typing this at the command line (Note: You must be running java 1.5 or better):

See also





Edited on 2006-09-01 18:08:42 by BombeQ [Update documentation a bit.]

Additions:
~- The "Freesite:" line you can see on this window will be part of the address of your new site, but don't worry, you can get this from the main Select a Project windows as well. The "Copy URI to Clipboard" button that is disabled when you start inserting will be enabled as soon as the node determines the final address of the site. This will take you back to the first Select a Project window.
These are Freenet 0.7 links, so you need Freenet running to use them:
This will take you back to the first Select a Project window.
Check you can visit your site by putting this address into a web browser.
If it works, congratulations! You've just added your freesite to Freenet.


Deletions:
If everything is fine, you should see the Project Insert window with a progress bar as your site is being uploaded to Freenet. It may take several minutes, even for small files, so be patient.
The "Freesite:" line you can see on this window will be part of the address of your new site, but don't worry, you can get this from the main Select a Project windows as well.
When the insert has finished, you will get a message pop up telling you that the project has been inserted successfully. Click OK to this message, and then Next on the Project Insert window. This will take you back to the first Select a Project window.




Oldest known version of this page was edited on 2006-04-07 21:44:24 by JaQa []
Page view:

jSite


jSite is a graphical application that you can use to create, insert and manage your own Freenet sites. It was written in Java by Bombe. You can download it from here: http://downloads.freenetproject.org/alpha/jSite/.

Download the jSite.jar file and store it somewhere (in your Freenet installation directory maybe?).

Run the application by typing this at the command line:

java -jar jSite.jar


You should see a window titled Select a Project.





The next window is called Project Files.




If everything is fine, you should see the Project Insert window with a progress bar as your site is being uploaded to Freenet. It may take several minutes, even for small files, so be patient.

The "Freesite:" line you can see on this window will be part of the address of your new site, but don't worry, you can get this from the main Select a Project windows as well.

When the insert has finished, you will get a message pop up telling you that the project has been inserted successfully. Click OK to this message, and then Next on the Project Insert window. This will take you back to the first Select a Project window.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.1588 seconds