diff --git a/img/ncduconfirm.png b/img/ncduconfirm.png
new file mode 100644
index 0000000..5710134
Binary files /dev/null and b/img/ncduconfirm.png differ
diff --git a/img/ncdudone.png b/img/ncdudone.png
new file mode 100644
index 0000000..f096478
Binary files /dev/null and b/img/ncdudone.png differ
diff --git a/img/ncduhelp1.png b/img/ncduhelp1.png
new file mode 100644
index 0000000..cf079e0
Binary files /dev/null and b/img/ncduhelp1.png differ
diff --git a/img/ncduhelp2.png b/img/ncduhelp2.png
new file mode 100644
index 0000000..c43fc3d
Binary files /dev/null and b/img/ncduhelp2.png differ
diff --git a/img/ncduinfo.png b/img/ncduinfo.png
new file mode 100644
index 0000000..c2b6493
Binary files /dev/null and b/img/ncduinfo.png differ
diff --git a/img/ncduscan.png b/img/ncduscan.png
new file mode 100644
index 0000000..342bb72
Binary files /dev/null and b/img/ncduscan.png differ
diff --git a/index.cgi b/index.cgi
index d0f6a4a..1e1b3e4 100755
--- a/index.cgi
+++ b/index.cgi
@@ -14,6 +14,7 @@ TUWF::register(
qr{ncdu} => \&ncdu,
qr{ncdu/changes} => \&ncduchangelog,
qr{ncdu/man} => \&ncdumanual,
+ qr{ncdu/scr} => \&ncduscr,
qr{ncdc} => \&ncdc,
qr{ncdc/faq} => \&ncdcfaq,
qr{ncdc/guide} => \&ncdcguide,
@@ -52,6 +53,7 @@ sub home {
E;
end;
h2 'Updates';
+ b '2011-09-15'; txt ' Added some screenshots for ncdu.'; br;
b '2011-09-03'; txt ' ncdc 0.9 released!'; br;
b '2011-08-26'; txt ' ncdc 0.8 released!'; br;
b '2011-08-17'; txt ' ncdc 0.7 released!'; br;
@@ -179,6 +181,31 @@ sub ncdumanual {
}
+sub ncduscr {
+ my $s = shift;
+ $s->htmlHeader(title => 'Screenshots', page => 'ncdu', tab => 'scr');
+ p;
+ txt 'Scanning...';
+ img src => '/img/ncduscan.png', style => 'margin: 5px 0 0 0; border: 1px solid #999', alt => 'Ncdu scanning a large directory.';
+ br;br;
+ txt 'Done scanning';
+ img src => '/img/ncdudone.png', style => 'margin: 5px 0 0 0; border: 1px solid #999', alt => 'Ncdu done scanning a large directory.';
+ br;br;
+ txt 'Directory information';
+ img src => '/img/ncduinfo.png', style => 'margin: 5px 0 0 0; border: 1px solid #999', alt => 'Ncdu displaying directory information.';
+ br;br;
+ txt 'Delete confirmation';
+ img src => '/img/ncduconfirm.png', style => 'margin: 5px 0 0 0; border: 1px solid #999', alt => 'Ncdu asking for confirmation to delete a file.';
+ br;br;
+ txt 'Help screen';
+ img src => '/img/ncduhelp1.png', style => 'margin: 5px 0 0 0; border: 1px solid #999', alt => 'Ncdu help screen.';
+ br;br;
+ txt 'About screen';
+ img src => '/img/ncduhelp2.png', style => 'margin: 5px 0 0 0; border: 1px solid #999', alt => 'Ncdu about screen.';
+ end;
+ $s->htmlFooter;
+}
+
# N C D C
@@ -196,25 +223,7 @@ sub ncdc {
E;
end;
- h2 'Current Status';
- p 'Ncdc is currently still in development, and therefore lacks a few features
- one would expect from a full-blown DC client. The following is a list of
- features that have been implemented so far:';
- ul;
- li 'Connecting to multiple hubs at the same time,';
- li 'Chatting and private messaging,';
- li 'Browsing the user list of a connected hub,';
- li 'Share management (file list generation, hashing, refreshing, etc),';
- li 'Replying to search requests from other clients,';
- li 'File uploading in active and passive mode,';
- li 'Connections and download queue management,';
- li 'File list browsing,';
- li 'Single-source and TTH-checked file downloading,';
- li 'Searching for files,';
- li 'Secure hub (adcs:// and nmdcs://) and client (ADCS) connections.';
- end;
-
- h2 'Try it out';
+ h2 'Get ncdc!';
p;
b 'Latest version:'; txt ' 0.9 (';
a href => '/download/ncdc-0.9.tar.gz', 'download';
@@ -222,13 +231,50 @@ sub ncdc {
txt ' - '; a href => '/download/ncdc.md5', 'md5';
txt ' - '; a href => '/download/ncdc.sha1', 'sha1';
txt ')'; br;
- txt 'You can also get the latest development version of ncdc from ';
+ txt 'You can also get the latest development version from ';
a href => 'http://g.blicky.net/ncdc.git/', 'this git repository';
- txt '. The README includes instructions to build ncdc.'; br;
- txt 'Check out the '; a href => '/ncdc/guide', 'user guide';
- txt ' to get started. Connect to adc://dc.blicky.net:2780/ to join the (chat-only) development hub!';
+ txt '. The README includes instructions to build ncdc. Check out the ';
+ a href => '/ncdc/guide', 'user guide'; txt ' to get started.';
end;
+ h2 'Features';
+ p 'Common features that all modern DC clients (should) have:';
+ ul;
+ li 'Connecting to multiple hubs at the same time,';
+ li 'Chatting and private messaging,';
+ li 'Browsing the user list of a connected hub,';
+ li 'Share management and file uploading,';
+ li 'Connections and download queue management,';
+ li 'File list browsing,';
+ li 'Single-source and TTH-checked file downloading,';
+ li 'Searching for files,';
+ li 'Secure hub (adcs:// and nmdcs://) and client (ADCS) connections.';
+ end;
+ br;
+ p 'Special features not commonly found in other clients:';
+ ul;
+ li 'Subdirectory refreshing,';
+ li 'Nick notification and highlighting in chat windows,';
+ li 'Detecting changes to the TLS certificate of a hub,';
+ li 'Efficient file uploads using sendfile(),';
+ li 'Large file lists are opened in a background thread,';
+ li '(Relatively...) low memory usage.';
+ end;
+
+ h2 'What doesn\'t ncdc do?';
+ p "Since the above list is getting larger and larger every time, it may be
+ more interesting to list a few features that are (relatively) common in other
+ DC clients, but which ncdc doesn\'t do. Yet.";
+ ul;
+ li 'Multi-source downloading,';
+ li 'Segmented downloading,';
+ li 'Bandwidth throttling,';
+ li 'OP features (e.g. client detection, file list scanning and other useful stuff for OPs),';
+ li 'SOCKS support.';
+ end;
+ p 'Of course, there are many more features that could be implemented or
+ improved. These will all be addressed in later versions (hopefully :).';
+
h2 'Requirements';
p;
lit <<' E;';
@@ -237,10 +283,10 @@ sub ncdc {
glib-networking installed.
These dependencies should be easy to satisfy. Depending on your system, you
may have all of these installed already.
- Ncdc has been developed on a recent Arch Linux installation and has been
- tested on FreeBSD 8.2 and Debian Squeeze. I have also received reports from
- people who successfully used it on Gentoo, Mac OS X, Ubuntu and CentOS. It
- should be fairly trivial to port to other POSIX-like systems.
+ Ncdc has been developed on Arch Linux, but I have received reports from
+ people who successfully used it on CentOS, Debian, FreeBSD, Gentoo, Mac OS
+ X and Ubuntu. It should be fairly trivial to port to other POSIX-like
+ systems.
Ncdc is entirely written in C and available under a liberal MIT license.
E;
end;
@@ -436,8 +482,6 @@ sub ncdcguide {
pre class => 'code';
b 'j'; txt ' scroll down.'; br;
b 'k'; txt ' scroll up.'; br;
- b 'l'; txt ' open selected directory.'; br;
- b 'h'; txt ' open parent directory.'; br;
b 's'; txt ' order by share size.'; br;
b 'u'; txt ' order by username.'; br;
b 'o'; txt ' toggle sort OPs before others.'; br;
@@ -1018,6 +1062,7 @@ sub htmlHeader {
a href => '/ncdu', !$o{tab} ? (class => 'sel') : (), 'main'; txt ' ';
a href => '/ncdu/changes', $o{tab} eq 'changes' ? (class => 'sel') : (), 'changelog'; txt ' ';
a href => '/ncdu/man', $o{tab} eq 'man' ? (class => 'sel') : (), 'manual'; txt ' ';
+ a href => '/ncdu/scr', $o{tab} eq 'scr' ? (class => 'sel') : (), 'screenshots'; txt ' ';
a href => 'http://sourceforge.net/tracker/?group_id=200175', 'bug tracker (sf)';
end;
}