sending an HTTP request using curl and seeing my FPGA light up in response is fun ngl
curl -v "localhost:8123/.well-known/webfinger?resource=acct:[email protected]"
> GET /.well-known/webfinger?resource=acct:[email protected] HTTP/1.1
> Host: localhost:8123
> User-Agent: curl/8.5.0
> Accept: */*
>
< HTTP/1.1 200 Ok
< Server: FediPGA/0.0.1
< Content-Type: application/jrd+json; charset=utf-8
< Content-Length: 144
<
{"subject":"acct:[email protected]","links":[{"rel":"self","type":"application/activity+json","href":"https://fedipga.d.jcm.re/user/jcm"}]}
curl -v "localhost:8123/user/jcm"
> GET /user/jcm HTTP/1.1
> Host: localhost:8123
> User-Agent: curl/8.5.0
> Accept: */*
>
< HTTP/1.1 200 Ok
< Server: FediPGA/0.0.1
< Content-Type: application/activity+json
< Content-Length: 666
<
{"@context":["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1"],"id":"https://fedipga.d.jcm.re/user/jcm","type":"Person","inbox":"https://fedipga.d.jcm.re/inbox","outbox":"https://fedipga.d.jcm.re/outbox","preferredUsername":"jcm","name":"jcm","summary":"/user/jcm","url":"https://fedipga.d.jcm.re/user/jcm","manuallyApprovesFollowers":false,"discoverable":true,"published":"2025-11-01T16:29:00.936Z","publicKey":{"id":"https://fedipga.d.jcm.re/user/jcm#main-key","owner":"https://fedipga.d.jcm.re/user/jcm","publicKeyPem":"-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo=\n-----END PUBLIC KEY-----\n"}}
#activitypub #fediverse #fpga #main