# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 61064
# self = https://watcher.sour.is?uri=https://twtxt.net/user/prologic/twtxt.txt&offset=46191
# next = https://watcher.sour.is?uri=https://twtxt.net/user/prologic/twtxt.txt&offset=46291
# prev = https://watcher.sour.is?uri=https://twtxt.net/user/prologic/twtxt.txt&offset=46091
@stigatle No worries πŸ‘Œ
@carsten What does it show when it doesn't start?
@carsten What does it show when it doesn't start?
@carsten What does it show when it doesn't start?
@carsten What does it show when it doesn't start?
I still don't want my compiler going and automatically downloading a new version. I didn't know Scala does this πŸ˜†
I still don't want my compiler going and automatically downloading a new version. I didn't know Scala does this πŸ˜†
I still don't want my compiler going and automatically downloading a new version. I didn't know Scala does this πŸ˜†
I still don't want my compiler going and automatically downloading a new version. I didn't know Scala does this πŸ˜†
@bender Yeah damn those teeth are nice and white πŸ˜†
@bender Yeah damn those teeth are nice and white πŸ˜†
@bender Yeah damn those teeth are nice and white πŸ˜†
@bender Yeah damn those teeth are nice and white πŸ˜†
@marado Nice! πŸ‘Œ
@marado Nice! πŸ‘Œ
@marado Nice! πŸ‘Œ
@marado Nice! πŸ‘Œ
@lyse Oh my god! 😱 wut da actual fuq?! Is Russ okay? πŸ€” This is all kinds of nuts really. Can't we just keep Go simple. it happens to be one of it strengths, adding all kinds of "magical"β„’ shit to the Go toolchain is just crazy πŸ€¦β€β™‚οΈ
@lyse Oh my god! 😱 wut da actual fuq?! Is Russ okay? πŸ€” This is all kinds of nuts really. Can't we just keep Go simple. it happens to be one of it strengths, adding all kinds of "magical"β„’ shit to the Go toolchain is just crazy πŸ€¦β€β™‚οΈ
@lyse Oh my god! 😱 wut da actual fuq?! Is Russ okay? πŸ€” This is all kinds of nuts really. Can't we just keep Go simple. it happens to be one of it strengths, adding all kinds of "magical"β„’ shit to the Go toolchain is just crazy πŸ€¦β€β™‚οΈ
@lyse Oh my god! 😱 wut da actual fuq?! Is Russ okay? πŸ€” This is all kinds of nuts really. Can't we just keep Go simple. it happens to be one of it strengths, adding all kinds of "magical"β„’ shit to the Go toolchain is just crazy πŸ€¦β€β™‚οΈ
@screem I think it probably did here too πŸ˜†
@screem I think it probably did here too πŸ˜†
@screem I think it probably did here too πŸ˜†
@screem I think it probably did here too πŸ˜†
@abucci I'll swap ya 🀣
@abucci I'll swap ya 🀣
@abucci I'll swap ya 🀣
@abucci I'll swap ya 🀣
Hopefully fixed that pesky edit bug 🀞
Hopefully fixed that pesky edit bug 🀞
Hopefully fixed that pesky edit bug 🀞
Hopefully fixed that pesky edit bug 🀞
forecast of 39℃ today πŸ₯΅
forecars of 39℃ today πŸ₯΅
forecast of 39℃ today πŸ₯΅
forecast of 39℃ today πŸ₯΅
forecast of 39℃ today πŸ₯΅
@screem Pretty sure I won πŸ₯΅
@screem Pretty sure I won πŸ₯΅
@screem Pretty sure I won πŸ₯΅
@screem Pretty sure I won πŸ₯΅


And finally to make a post:


curl -s -d '{"text": "Hello World!"}' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/post | jq '.'


And finally to make a post:


curl -s -d '{"text": "Hello World!"}' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/post | jq '.'


And finally to make a post:


curl -s -d '{"text": "Hello World!"}' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/post | jq '.'


And finally to make a post:


curl -s -d '{"text": "Hello World!"}' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/post | jq '.'


To verify the API endpoint(s) are working (no authentication required):


curl -s http://localhost:8000/api/v1/ping


To verify the API endpoint(s) are working (no authentication required):


curl -s http://localhost:8000/api/v1/ping


To verify the API endpoint(s) are working (no authentication required):


curl -s http://localhost:8000/api/v1/ping


To verify the API endpoint(s) are working (no authentication required):


curl -s http://localhost:8000/api/v1/ping


To verify that you are logged in and authenticated:


curl -s -d '' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/whoami


To verify that you are logged in and authenticated:


curl -s -d '' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/whoami


To verify that you are logged in and authenticated:


curl -s -d '' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/whoami


To verify that you are logged in and authenticated:


curl -s -d '' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/whoami
To securely login and authenticate to the API and set YARND_TOKEN env var for later use:


IFS= read -rsp 'Password: ' password; payload="$(jq -cnr --arg password "$password" '{username: "admin", "password": $password}')"; export YARND_TOKEN="$(curl -s -d "$payload" http://localhost:8000/api/v1/auth | jq -r '.token')"
To securely login and authenticate to the API and set YARND_TOKEN env var for later use:


IFS= read -rsp 'Password: ' password; payload="$(jq -cnr --arg password "$password" '{username: "admin", "password": $password}')"; export YARND_TOKEN="$(curl -s -d "$payload" http://localhost:8000/api/v1/auth | jq -r '.token')"
To securely login and authenticate to the API and set YARND_TOKEN env var for later use:


IFS= read -rsp 'Password: ' password; payload="$(jq -cnr --arg password "$password" '{username: "admin", "password": $password}')"; export YARND_TOKEN="$(curl -s -d "$payload" http://localhost:8000/api/v1/auth | jq -r '.token')"
To securely login and authenticate to the API and set YARND_TOKEN env var for later use:


IFS= read -rsp 'Password: ' password; payload="$(jq -cnr --arg password "$password" '{username: "admin", "password": $password}')"; export YARND_TOKEN="$(curl -s -d "$payload" http://localhost:8000/api/v1/auth | jq -r '.token')"
Although performance metrics that measure CPU, Memory and such aren't really the same thing as "telemetry"
Although performance metrics that measure CPU, Memory and such aren't really the same thing as "telemetry"
Although performance metrics that measure CPU, Memory and such aren't really the same thing as "telemetry"
Although performance metrics that measure CPU, Memory and such aren't really the same thing as "telemetry"
@bender You make an excellent point. I might just put it behind an --enable-metrics flag πŸ€”
@bender You make an excellent point. I might just put it behind an --enable-metrics flag πŸ€”
@bender You make an excellent point. I might just put it behind an --enable-metrics flag πŸ€”
@bender You make an excellent point. I might just put it behind an --enable-metrics flag πŸ€”
It is crazy hot today πŸ₯΅
It is crazy hot today πŸ₯΅
It is crazy hot today πŸ₯΅
It is crazy hot today πŸ₯΅
The /metrics endpoint is there for the operator, so you can monitor/measure your pod's performance and adjust accordingly, or file bug reports for me to fix broken shitβ„’ 🀣 -- It is never pushed anywhere, only pulled. And I only ever pull two key pieces out dao and mao of known single and multi-user pods, but I ASK beforehand 🀣 -- For example I'm not pulling DAU and MAO stats from @kaniyama_t 's Twitter2 pod because I never got a response to whether I could or not πŸ˜…
The /metrics endpoint is there for the operator, so you can monitor/measure your pod's performance and adjust accordingly, or file bug reports for me to fix broken shitβ„’ 🀣 -- It is never pushed anywhere, only pulled. And I only ever pull two key pieces out dao and mao of known single and multi-user pods, but I ASK beforehand 🀣 -- For example I'm not pulling DAU and MAO stats from @kaniyama_t 's Twitter2 pod because I never got a response to whether I could or not πŸ˜…
The /metrics endpoint is there for the operator, so you can monitor/measure your pod's performance and adjust accordingly, or file bug reports for me to fix broken shitβ„’ 🀣 -- It is never pushed anywhere, only pulled. And I only ever pull two key pieces out dao and mao of known single and multi-user pods, but I ASK beforehand 🀣 -- For example I'm not pulling DAU and MAO stats from @kaniyama_t 's Twitter2 pod because I never got a response to whether I could or not πŸ˜…
The /metrics endpoint is there for the operator, so you can monitor/measure your pod's performance and adjust accordingly, or file bug reports for me to fix broken shitβ„’ 🀣 -- It is never pushed anywhere, only pulled. And I only ever pull two key pieces out dao and mao of known single and multi-user pods, but I ASK beforehand 🀣 -- For example I'm not pulling DAU and MAO stats from @kaniyama_t 's Twitter2 pod because I never got a response to whether I could or not πŸ˜…
@stigatle I'll write one up πŸ‘Œ
@stigatle I'll write one up πŸ‘Œ
@stigatle I'll write one up πŸ‘Œ
@stigatle I'll write one up πŸ‘Œ
@slashdot I've already done this in Go πŸ˜†
@slashdot I've already done this in Go πŸ˜†
@slashdot I've already done this in Go πŸ˜†
@slashdot I've already done this in Go πŸ˜†
@abucci Prometheus /metrics endpoint for monitoring its performance.
@abucci Prometheus /metrics endpoint for monitoring its performance.
@abucci Prometheus /metrics endpoint for monitoring its performance.
@abucci Prometheus /metrics endpoint for monitoring its performance.
@stigatle Yes πŸ˜†
@stigatle Yes πŸ˜†
@stigatle Yes πŸ˜†
@stigatle Yes πŸ˜†
@lyse 05 looks good though πŸ‘Œ Ahat diet od temperature?It was 35 here today πŸ₯΅
@lyse 05 looks good though πŸ‘Œ Ahat diet od temperature?It was 35 here today πŸ₯΅
@lyse 05 looks good though πŸ‘Œ Ahat diet od temperature?It was 35 here today πŸ₯΅
@lyse 05 looks good though πŸ‘Œ Ahat diet od temperature?It was 35 here today πŸ₯΅
@jlj Thanks! πŸ™‡β€β™‚οΈ
@jlj Thanks! πŸ™‡β€β™‚οΈ
@jlj Thanks! πŸ™‡β€β™‚οΈ
@jlj Thanks! πŸ™‡β€β™‚οΈ
@lyse Oh my 🀣 πŸ”‘
@lyse Oh my 🀣 πŸ”‘