From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: screenshot of the web interface to the GNU Guix package manager Date: Thu, 01 Sep 2016 13:54:40 +0200 Message-ID: <878tvbrg1r.fsf@gnu.org> References: <2v3l85r7oy0f49wn919rcuup8@onionmail.info> <87a8ftm48k.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfQet-0003SD-1o for guix-devel@gnu.org; Thu, 01 Sep 2016 07:59:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfQeo-0000Iz-Se for guix-devel@gnu.org; Thu, 01 Sep 2016 07:59:50 -0400 In-Reply-To: (David Thompson's message of "Wed, 31 Aug 2016 11:07:57 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: "Thompson, David" Cc: guix-devel , knxrby@onionmail.info "Thompson, David" skribis: > On Wed, Aug 31, 2016 at 9:56 AM, ng0 wrote: >> Ricardo Wurmus writes: >> >>> knxrby@onionmail.info writes: >>> >>>> On https://git.dthompson.us/guix-web.git/blob/HEAD:/README.md >>>> >>>> there is a dead link to >>>> http://media.dthompson.us/mgoblin_media/media_entries/20/Screenshot_fr= om_2014-08-13_180724.png >>>> >>>> - so no visible screenshot of the web interface to the GNU Guix package >>>> manager here... >>>> >>>> >>>> Does anyone have a screenshot maybe? Thx! >>> >>> You can see a running instance of Guix web at >>> . >>> >>> It runs a slightly modified version of Dave=E2=80=99s code. >>> >>> ~~ Ricardo >>> >> >> A good number of people have pointed out to me that our /packages page >> crashes their browser or in general is really uncomfortable to load. >> The impression would be better if we provided something which might not >> be 100% done but at least does not crash/hang systems. >> What's in the way to use guix-web instead of the listing we have? >> Perfectionism and/or a lack of time? > > Pagination can be achieved without the use of a dynamic web > application. I wouldn't recommend guix-web for this right now because > it also loads slowly. Some dynamic thing with a search box would be > cool in the future, but not now. > > The Guile source that generates the web pages is available and > hackable, so it would be relatively easy for someone to break this > list up in some sane fashion and send a patch. Any volunteers? The code that generates the /packages page is at: http://git.savannah.gnu.org/cgit/guix/guix-artwork.git/tree/website/www/p= ackages.scm A simple improvement would be to statically generate a JSON file containing package meta-data, and to have the HTML page load that file and render it, according to search box filters. Ludo=E2=80=99.