From: <bel...@us...> - 2003-03-16 01:18:00
|
Update of /cvsroot/btplusplus/BT++/dist In directory sc8-pr-cvs1:/tmp/cvs-serv13101/dist Modified Files: README.txt Added Files: README_WT.txt Log Message: Implemented seed number control Updated to wxPython 2.4.0.6 (false/true deprecated) Fixed: If last torrent completed it wasn't removed from list Fixed: Chckboxes in WT++ config not working Added shell command to BT++.py Added WT++ readme Updated BT++ readme (linux setup) Improved some html templates --- NEW FILE: README_WT.txt --- +----------------------------------------------------------------------+ | WebTorrent++ | | | | Latest Version: http://sf.net/projects/btplusplus/ | | | | Copyright (c) 2003 Tobias "Belgabor" Minich | | | | Contact: bel...@us... | | | | Built upon BitTorrent++ | | | | Copyright (c) 2003 Florian "SirElvis" Wagner | | and | | Joshua "xamphear" Cantara | | | | Contact: sir...@gm... | | jca...@gr... | +----------------------------------------------------------------------+ | This file is part of BitTorrent++. | | | | BitTorrent++ 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. | | | | BitTorrent++ is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | GNU General Public License for more details. | | | | You should have received a copy of the GNU General Public License | | along with BitTorrent++; if not, write to the | | | | Free Software Foundation, Inc. | | 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | | | | The Initial Developer of the Original Code is Florian Wagner. | | All Rights Reserved. | | | | A copy of the license can be found in the file 'LICENSE.rtf'. | +----------------------------------------------------------------------+ | All files contained in the 'core' subdirectory of BitTorrent++ are | | directly copied (and sometimes modified) from the original | | BitTorrent client and thus are licensed under "The MIT License" and | | are | | | | Copyright (C) 2001-2002 Bram Cohen | | | | A copy of the license can be found in the file 'LICENSE.rtf'. | +----------------------------------------------------------------------+ | WebTorrent++ uses htmltmpl by Tomas Stybloas html template engine | | See README.htmltmpl in src/WebServer for more information | +----------------------------------------------------------------------+ ************************ *** INTRODUCTION *** ************************ WebTorrent++ is a client for the BitTorrent peer-to-peer file sharing solution. Based on the original BitTorrent software it is also written in Python, thus allowing it to run on Win32 as well as Linux like platforms(hopfully). In contrast to BitTorrent++ it acts as a http server and as such offers a web interface similar to mldonkey. Like BitTorrent++ It improves (or will improve) many parts of the original BitTorrent client, like downloading of multiple files at once, configuration of upload and download speeds as well as other behaviours. ************************ *** INSTALLATION *** ************************ Windows: Use the installer!! Unix / Linux: 1 - Install Python(http://www.python.org) 2 - Install wxWindows+wxPython(http://www.wxpython.org) 3 - Unpack the tar.gz / tar.bz either 4 - go to the src directory and use 'python WT++.py' to start WT++ (on some systems with both python 1.x and 2.x you might have to use 'python2' instead of 'python') or 4 - make WT++.py in the src directory executable ('chmod +x WT++.py') 5 - go to the src directory and use './WT++.py' to start WT++ (be sure the first line in WT++.py points to your python 2.x executable) ************************ *** USAGE *** ************************ When starting the tool the first time it will create four subdirectories. In the one, called 'torrent', you have to put the downloaded torrent files. Files that are currently downloaded are put in the 'temp' dir and moved to 'incoming' after they are finished. 'history' will contain all the torrents of finished files. Depending on your settings WT++ will start new downloads and background hashing automatically. There is some kind of priority implemented. If set to auto download WT++ will start the downloads at the top of the list first. You can move items by clicking on the arrows. By default the web interface WT++ will run on port 5080 and only accept connections from localhost. These settings can either be changed via the web interface or by editing http.ini. The defaults are the following: [Access] validips = (space seperated list of allowed ips) allowlocal = 1 (allow access from localhost) [Host] ip = (ip for the webserver to bind to) port = 5080 (webserver port) [Display] loglevel = 1 logcount = 200 refresh = 10 The Display settings are not vital for the initial setup, see the webinterface for an explanation. All the other settings are shared with BT++. Most of the interface should be self-explanatory. These things might be not obvious: - Pressing the "Torrents" button not only refreshes the display but also updates the torrents - Paste links to torrents into the red bar and press 'Add' to download them - After pressing buttons in the torrent view WT++ can sometimes be a bit sluggish, so it might be necessary to press the 'Torrents' button or wait for the next update to see the changes - If you start WT++ from the command line you can enter 'exit' or 'quit' to stop the server as an alternative to stopping it via the web interface. At least on linux its possible that the terminal you started WT++ from stops echoing typed characters after you quit WT++. This seems to be related to threading in python and to my knowledge can't be helped (if you know how to fix it I'm grateful for patches) All pages are kept as templates (*.tmpl) in the WebTemplates folder, so if you don't like the looks, you can modify it. Index: README.txt =================================================================== RCS file: /cvsroot/btplusplus/BT++/dist/README.txt,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** README.txt 23 Feb 2003 21:06:34 -0000 1.9 --- README.txt 16 Mar 2003 01:17:57 -0000 1.10 *************** *** 64,72 **** Unix / Linux: ! 1 - Install wxWindows(http://www.wxwindows.org) ! 2 - Install Python(http://www.python.org) ! 3 - Install wxPython(http://www.wxpython.org) ! 4 - Unpack the tar.gz / tar.bz ! 5 - use 'run.sh' to start BT++ ************************ --- 64,78 ---- Unix / Linux: ! 1 - Install Python(http://www.python.org) ! 2 - Install wxWindows+wxPython(http://www.wxpython.org) ! 3 - Unpack the tar.gz / tar.bz ! either ! 4 - go to the src directory and use 'python BT++.py' to start BT++ ! (on some systems with both python 1.x and 2.x you might have to use ! 'python2' instead of 'python') ! or ! 4 - make BT++.py in the src directory executable ('chmod +x BT++.py') ! 5 - go to the src directory and use './BT++.py' to start BT++ ! (be sure the first line in BT++.py points to your python 2.x executable) ************************ |