* Guix Package Search API Server
@ 2021-12-30 10:20 Sai Karthik
2021-12-30 14:20 ` zimoun
0 siblings, 1 reply; 10+ messages in thread
From: Sai Karthik @ 2021-12-30 10:20 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1.1.1: Type: text/plain, Size: 659 bytes --]
Hello everyone!, I was unable to find any API for querying guix package
info on official guix website. So, I have created a very simple REST API
server for searching/querying package info in Javascript. It parses the
package info from https://guix.gnu.org/packages.json file & returns the
results.
It currently uses Deno runtime to execute. I have just started learning
guile, So, i will try to recreate this in guile as well, Once i am
confident :)
Project URL: https://gitlab.com/kskarthik/guix-packages-api
I have documented it's usage too. Feel free to explore it & let me know
your thoughts!
--
https://kskarthik.gitlab.io/
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3185 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Guix Package Search API Server
2021-12-30 10:20 Guix Package Search API Server Sai Karthik
@ 2021-12-30 14:20 ` zimoun
2021-12-30 17:03 ` Sai Karthik
0 siblings, 1 reply; 10+ messages in thread
From: zimoun @ 2021-12-30 14:20 UTC (permalink / raw)
To: Sai Karthik, guix-devel
Hi,
On Thu, 30 Dec 2021 at 15:50, Sai Karthik <kskarthik@disroot.org> wrote:
> Hello everyone!, I was unable to find any API for querying guix package
> info on official guix website. So, I have created a very simple REST API
> server for searching/querying package info in Javascript. It parses the
> package info from https://guix.gnu.org/packages.json file & returns the
> results.
Maybe you could be interested by <https://hpc.guix.info/browse>. Or by
<https://data.guix.gnu.org/revision/cc33f50d0e2a7835e99913226cb4c4b0e9e961ae/package/emacs/27.2>
Cheers,
simon
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Guix Package Search API Server
2021-12-30 14:20 ` zimoun
@ 2021-12-30 17:03 ` Sai Karthik
2021-12-30 17:53 ` zimoun
2022-01-03 16:27 ` Ludovic Courtès
0 siblings, 2 replies; 10+ messages in thread
From: Sai Karthik @ 2021-12-30 17:03 UTC (permalink / raw)
To: zimoun, guix-devel
[-- Attachment #1.1.1: Type: text/plain, Size: 763 bytes --]
Nice! I didn't knew about this earlier. Does hpc.guix.info exposes API ?
On 30/12/21 19:50, zimoun wrote:
> Hi,
>
> On Thu, 30 Dec 2021 at 15:50, Sai Karthik <kskarthik@disroot.org> wrote:
>> Hello everyone!, I was unable to find any API for querying guix package
>> info on official guix website. So, I have created a very simple REST API
>> server for searching/querying package info in Javascript. It parses the
>> package info from https://guix.gnu.org/packages.json file & returns the
>> results.
>
> Maybe you could be interested by <https://hpc.guix.info/browse>. Or by
> <https://data.guix.gnu.org/revision/cc33f50d0e2a7835e99913226cb4c4b0e9e961ae/package/emacs/27.2>
>
>
>
> Cheers,
> simon
--
https://kskarthik.gitlab.io/
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3185 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Guix Package Search API Server
2021-12-30 17:03 ` Sai Karthik
@ 2021-12-30 17:53 ` zimoun
2021-12-30 18:04 ` Sai Karthik
2022-01-03 16:27 ` Ludovic Courtès
1 sibling, 1 reply; 10+ messages in thread
From: zimoun @ 2021-12-30 17:53 UTC (permalink / raw)
To: Sai Karthik, guix-devel
Hi,
On Thu, 30 Dec 2021 at 22:33, Sai Karthik <kskarthik@disroot.org> wrote:
> Nice! I didn't knew about this earlier. Does hpc.guix.info exposes API ?
I do not know.
Unrelated naive question, what is the aim to have an API for packages?
Cheers,
simon
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Guix Package Search API Server
2021-12-30 17:53 ` zimoun
@ 2021-12-30 18:04 ` Sai Karthik
0 siblings, 0 replies; 10+ messages in thread
From: Sai Karthik @ 2021-12-30 18:04 UTC (permalink / raw)
To: zimoun, guix-devel
[-- Attachment #1.1.1: Type: text/plain, Size: 459 bytes --]
I have observed that debian provides a similar api
https://sources.debian.org/doc/api/
On 30/12/21 23:23, zimoun wrote:
> Hi,
>
> On Thu, 30 Dec 2021 at 22:33, Sai Karthik <kskarthik@disroot.org> wrote:
>
>> Nice! I didn't knew about this earlier. Does hpc.guix.info exposes API ?
>
> I do not know.
>
> Unrelated naive question, what is the aim to have an API for packages?
>
>
> Cheers,
> simon
--
https://kskarthik.gitlab.io/
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3185 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Guix Package Search API Server
2021-12-30 17:03 ` Sai Karthik
2021-12-30 17:53 ` zimoun
@ 2022-01-03 16:27 ` Ludovic Courtès
2022-01-05 7:38 ` Tissevert
1 sibling, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2022-01-03 16:27 UTC (permalink / raw)
To: Sai Karthik; +Cc: guix-devel
Hi!
Sai Karthik <kskarthik@disroot.org> skribis:
> Nice! I didn't knew about this earlier. Does hpc.guix.info exposes API ?
It runs hpcguix-web¹, which exposes a big (but gzipped) JSON file at
<https://hpc.guix.info/packages.json>. Everything else happens in
client-side JavaScript code.
Ludo’.
¹ https://github.com/UMCUGenetics/hpcguix-web
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Guix Package Search API Server
2022-01-03 16:27 ` Ludovic Courtès
@ 2022-01-05 7:38 ` Tissevert
2022-01-05 12:52 ` Roel Janssen
2022-01-06 18:43 ` Sai Karthik
0 siblings, 2 replies; 10+ messages in thread
From: Tissevert @ 2022-01-05 7:38 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel, Sai Karthik
Hi,
This JSON file sounds nice and useful. By the way, it may only be a
transient error but the instance of hpcguix-web running at UMC Utrecht
mentioned in the github repos seems to be down
(https://hpcguix.op.umcutrecht.nl/). Is it supposed to be so ?
Tissevert
Le Mon, 03 Jan 2022 17:27:56 +0100,
Ludovic Courtès <ludo@gnu.org> a écrit :
> Hi!
>
> Sai Karthik <kskarthik@disroot.org> skribis:
>
> > Nice! I didn't knew about this earlier. Does hpc.guix.info exposes
> > API ?
>
> It runs hpcguix-web¹, which exposes a big (but gzipped) JSON file at
> <https://hpc.guix.info/packages.json>. Everything else happens in
> client-side JavaScript code.
>
> Ludo’.
>
> ¹ https://github.com/UMCUGenetics/hpcguix-web
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Guix Package Search API Server
2022-01-05 7:38 ` Tissevert
@ 2022-01-05 12:52 ` Roel Janssen
2022-01-06 18:43 ` Sai Karthik
1 sibling, 0 replies; 10+ messages in thread
From: Roel Janssen @ 2022-01-05 12:52 UTC (permalink / raw)
To: Tissevert, Ludovic Courtès; +Cc: guix-devel, Sai Karthik
On Wed, 2022-01-05 at 08:38 +0100, Tissevert wrote:
> Hi,
>
> This JSON file sounds nice and useful. By the way, it may only be a
> transient error but the instance of hpcguix-web running at UMC Utrecht
> mentioned in the github repos seems to be down
> (https://hpcguix.op.umcutrecht.nl/). Is it supposed to be so ?
>
> Tissevert
>
I can comment on that because I worked at UMC Utrecht and set this particular instance up.
It only responds to certain IP addresses (those within the IP range of UMC Utrecht).
So this is normal.
Kind regards,
Roel Janssen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Guix Package Search API Server
2022-01-05 7:38 ` Tissevert
2022-01-05 12:52 ` Roel Janssen
@ 2022-01-06 18:43 ` Sai Karthik
2022-01-07 7:57 ` Tissevert
1 sibling, 1 reply; 10+ messages in thread
From: Sai Karthik @ 2022-01-06 18:43 UTC (permalink / raw)
To: Tissevert, Ludovic Courtès; +Cc: guix-devel
[-- Attachment #1.1.1: Type: text/plain, Size: 945 bytes --]
You could also obtain the json file from https://guix.gnu.org/packages.json
On 05/01/22 13:08, Tissevert wrote:
> Hi,
>
> This JSON file sounds nice and useful. By the way, it may only be a
> transient error but the instance of hpcguix-web running at UMC Utrecht
> mentioned in the github repos seems to be down
> (https://hpcguix.op.umcutrecht.nl/). Is it supposed to be so ?
>
> Tissevert
>
> Le Mon, 03 Jan 2022 17:27:56 +0100,
> Ludovic Courtès <ludo@gnu.org> a écrit :
>
>> Hi!
>>
>> Sai Karthik <kskarthik@disroot.org> skribis:
>>
>>> Nice! I didn't knew about this earlier. Does hpc.guix.info exposes
>>> API ?
>>
>> It runs hpcguix-web¹, which exposes a big (but gzipped) JSON file at
>> <https://hpc.guix.info/packages.json>. Everything else happens in
>> client-side JavaScript code.
>>
>> Ludo’.
>>
>> ¹ https://github.com/UMCUGenetics/hpcguix-web
>>
>
--
https://kskarthik.gitlab.io/
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3185 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Guix Package Search API Server
2022-01-06 18:43 ` Sai Karthik
@ 2022-01-07 7:57 ` Tissevert
0 siblings, 0 replies; 10+ messages in thread
From: Tissevert @ 2022-01-07 7:57 UTC (permalink / raw)
To: Sai Karthik; +Cc: guix-devel
I see. Thank you very much for this piece of information ! And I'm
relieved to know everything is fine with the UMC Utrecht instance.
Le Fri, 7 Jan 2022 00:13:40 +0530,
Sai Karthik <kskarthik@disroot.org> a écrit :
> You could also obtain the json file from
> https://guix.gnu.org/packages.json
>
> On 05/01/22 13:08, Tissevert wrote:
> > Hi,
> >
> > This JSON file sounds nice and useful. By the way, it may only be a
> > transient error but the instance of hpcguix-web running at UMC
> > Utrecht mentioned in the github repos seems to be down
> > (https://hpcguix.op.umcutrecht.nl/). Is it supposed to be so ?
> >
> > Tissevert
> >
> > Le Mon, 03 Jan 2022 17:27:56 +0100,
> > Ludovic Courtès <ludo@gnu.org> a écrit :
> >
> >> Hi!
> >>
> >> Sai Karthik <kskarthik@disroot.org> skribis:
> >>
> >>> Nice! I didn't knew about this earlier. Does hpc.guix.info exposes
> >>> API ?
> >>
> >> It runs hpcguix-web¹, which exposes a big (but gzipped) JSON file
> >> at <https://hpc.guix.info/packages.json>. Everything else happens
> >> in client-side JavaScript code.
> >>
> >> Ludo’.
> >>
> >> ¹ https://github.com/UMCUGenetics/hpcguix-web
> >>
> >
>
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-01-07 7:58 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-30 10:20 Guix Package Search API Server Sai Karthik
2021-12-30 14:20 ` zimoun
2021-12-30 17:03 ` Sai Karthik
2021-12-30 17:53 ` zimoun
2021-12-30 18:04 ` Sai Karthik
2022-01-03 16:27 ` Ludovic Courtès
2022-01-05 7:38 ` Tissevert
2022-01-05 12:52 ` Roel Janssen
2022-01-06 18:43 ` Sai Karthik
2022-01-07 7:57 ` Tissevert
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.