Brainstorming » History » Version 18
Greg Burri, 07/08/2009 10:21 AM
1 | 1 | Greg Burri | h1. Brainstorming |
---|---|---|---|
2 | |||
3 | * Core and GUI are independent. They communicate over TCP socket. |
||
4 | ** It's possible to launch the core without the GUI and without X launched under Linux. |
||
5 | ** The core show, if it's possible, an icon in the trayicon with a minimal menu to manage it. The menu will include an entry to stop the core and an entry to launch the GUI. |
||
6 | ** The core does not depend of any kind of graphic library except for the trayicon. |
||
7 | ** If the GUI crashes then the core remains. |
||
8 | ** It's possible to control the core remotely with a password. |
||
9 | * Designed for LAN usage (full trusted peers and very high speed transfers). |
||
10 | * Efficient (very low CPU usage). |
||
11 | * Distributed download (multi peer downloading and no central server). |
||
12 | ** Quicker peer first. The speed of a peer is an average over a period of time say 5 min, it's computed by the downloader. The speed of an unknown peer is maximum thus it will be take first. If a downloading is too slow (like three time slower than the best known peer) then it can switch to a quicker free peer. |
||
13 | After A period of time without any download from a peer say 30min its speed is reseted to the maximum. |
||
14 | ** Then rarest parts first from the chosen peers. If there is no rarest parts then the choice is randomly. |
||
15 | ** A part can be resumed from any peer which own a complete copy of this part. |
||
16 | ** A file from a user is identified by its name and its folder. |
||
17 | ** Fixed part size (2^24 B = 16 MB) hashed with SHA-1. Used to control the integrity of parts and to identify each part. If the SHA-1 of a part does not match the given SHA-1 then it will be re-downloaded entirely. |
||
18 | ** The number of concurrent download is around 3 parts simultaneous but not more than 1 per remote peer. The number of concurrent upload is unlimited. |
||
19 | ** Recursive folder downloading. |
||
20 | ** The paths of the files are recreated in the downloading peer. |
||
21 | * There is a general chat. There is no private chat. The chat uses UDP multicast (if possible). |
||
22 | * Multicast UDP for services discovering (maybe UPNP). Each peer announces periodically (T) is alive with a multicast message. If we doesn't receive any alive message from a peer while 3*T we consider it dead and we remove it from the list. |
||
23 | 12 | Greg Burri | * Tabbed MDI GUI. See [[GUI]] for a preview. |
24 | 1 | Greg Burri | ** A panel to view the current peers and their amount of sharing. |
25 | ** A window to view the current downloads (leechage) and one for the current uploads (seedage). These windows are very similar. The list is ordered, first the complete downloads then the incomplete ones with 0 peers then the current downloading files and finally the queued files and folders. |
||
26 | The list can contains both file or folder, when a folder is downloaded its files and folders are retrieved from the peer and will replace the folder in the list (lazy download). |
||
27 | There is a limit of the number of complete download. 500 for example. |
||
28 | ** A window for the chat. |
||
29 | ** Some windows for each file browsing. The files and folders are seen like a tree (like in the Finder of Mac OS X). |
||
30 | ** Some windows for each file searching. |
||
31 | ** A window for the settings. |
||
32 | *** The shared folders. |
||
33 | *** The incoming folders (take the first if enough available space disk otherwise the second and so one..). |
||
34 | *** Bandwidth and CPU limitation with a single option (checkbox). If activated then downloading, uploading and hashing rates will be reduced. |
||
35 | * The files that are currently downloaded have the final size with a name like "movie.mkv.unfinished". The ".unfinished" will be removed when the download is finished. Maybe do the same thing for folder. |
||
36 | 3 | Greg Burri | * Data serialization and message passing |
37 | ** Using of "Thrift":http://incubator.apache.org/thrift/ or "Protocol Buffers":http://code.google.com/apis/protocolbuffers/docs/overview.html for definition of the protocol between the peers and between the Core and the GUI. |
||
38 | 1 | Greg Burri | * File list with name+size. |
39 | * Non blocking search, the list is dynamically filled for each peer answer. The search is active on files and folders name. |
||
40 | * Using of systray (optional). |
||
41 | * When you browse the files of someone you will see all its files with non-hashing files too. |
||
42 | ** The hashing will be created and sent when you decide to download a specific file. |
||
43 | * Support of UTF-8. |
||
44 | ** Creating many tests with special characters in the name of the files or directories |
||
45 | 4 | Greg Burri | * Debug/Log window like Pidgin one |
46 | 1 | Greg Burri | |
47 | h2. Secondary ideas |
||
48 | |||
49 | 6 | Greg Burri | |
50 | 1 | Greg Burri | Theses ideas will certainly not be implemented for the first release. |
51 | |||
52 | 14 | Greg Burri | * Private chat. |
53 | 15 | Greg Burri | * See by an icon next to the peer name in the peer list when a peer has setted the option to reduced the bandwidth. |
54 | 5 | Greg Burri | * An URL is displayed on top of the file browsing windows like : _aybabtu://192.168.1.46/movies/sci-fi_. It's allowed to copy or paste an URL. |
55 | ** There is a button somewhere to open a blank browsing window. |
||
56 | 1 | Greg Burri | * The users can add some comments or tags associated to theirs sharing. These comments or tags are displayed in the list of peers (new column ? tooltip ?). |
57 | 10 | Greg Burri | ** You can switch the peer-list to a tag-list |
58 | 1 | Greg Burri | * Search in meta data like ID3tag and in compressed file (zip, etc.). |
59 | * Free space management. |
||
60 | * Preview of video and mp3 files from a peer. Streaming ? |
||
61 | * Virtual folder to aggregate some real folders. For example the virtual folder 'Divx' may merge '/mnt/Divx1', '/mnt/Divx2' and '/home/paul/movies'. |
||
62 | 16 | Greg Burri | * Multi languages. (that can be changed dynamically on the fly, available with Qt). |
63 | 17 | Greg Burri | * Create a theme with : "Qt Style Sheets":http://doc.trolltech.com/4.5/stylesheet-examples.html. See the interface of _Qt Examples and Demos_. |
64 | 1 | Greg Burri | * Automatically detect a running game and set the limitation flag. |
65 | * Automatically detect CPU/bandwidth usage and set limitation flag. |
||
66 | * Protect some sharing by a password / user rights for shares. |
||
67 | * Statistics window with graphs. |
||
68 | 18 | Greg Burri | * IPv6 support. |
69 | * The user can save favorites (a folder in a peer). The favorites are displayed in a panel below the peer list. |
||
70 | 11 | Greg Burri | * The peer list shows by an icon the OS (Linux/MacOSX/Windows) |