"Thompson, David" <dthomps...@worcester.edu> skribis: > On Wed, Aug 31, 2016 at 9:56 AM, ng0 <n...@we.make.ritual.n0.is> wrote: >> Ricardo Wurmus <ricardo.wur...@mdc-berlin.de> writes: >> >>> knx...@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_from_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 >>> <http://guix.mdc-berlin.de>. >>> >>> It runs a slightly modified version of Dave’s 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/packages.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’.