# 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 41
# self = https://watcher.sour.is/conv/aepd6nq
@oevl Logging in with
twt -u https://twtxt.net login
throws an error after writing the password:\n\n
 ERRO[0019] error making login request                    error="invalid character 'E' looking for beginning of value"
@oevl Logging in with
twt -u https://twtxt.net login
throws an error after writing the password:\n\n
 ERRO[0019] error making login request                    error="invalid character 'E' looking for beginning of value"
@oevl Logging in with
twt -u https://twtxt.net login
throws an error after writing the password:

 ERRO[0019] error making login request                    error="invalid character 'E' looking for beginning of value"
@oevl Make sure you use the official repo πŸ˜€ -- It stopped being a "personal" project quite some time ago 😎
@oevl Make sure you use the official repo πŸ˜€ -- It stopped being a "personal" project quite some time ago 😎
@oevl Make sure you use the official repo πŸ˜€ -- It stopped being a "personal" project quite some time ago 😎
@oevl Yeah the API client is kind of stupid. You need to use -u https://twtxt.net/api/v1/ Sorry about that, we _shoudl_ fix/improve that, PR welcome! πŸ˜€
@oevl Yeah the API client is kind of stupid. You need to use -u https://twtxt.net/api/v1/ Sorry about that, we _shoudl_ fix/improve that, PR welcome! πŸ˜€
@oevl Yeah the API client is kind of stupid. You need to use -u https://twtxt.net/api/v1/ Sorry about that, we _shoudl_ fix/improve that, PR welcome! πŸ˜€
Sorry for the ~30m delay 🀣~
Sorry for the ~30m delay 🀣~
Sorry for the ~30m delay 🀣~
@prologic Using the the right url, the official repo and an expect script to invoke twt with stored username and pasword, I managed to login to https://twtxt.net from the command line.
@prologic Using the the right url, the official repo and an expect script to invoke twt with stored username and pasword, I managed to login to https://twtxt.net from the command line.
@oevl Oh nice! You need not login again though? πŸ€” twt stores the acquired token in ~/.twt.yaml. Why do you need to use expect? Just for the first time?
@oevl Oh nice! You need not login again though? πŸ€” twt stores the acquired token in ~/.twt.yaml. Why do you need to use expect? Just for the first time?
@oevl Oh nice! You need not login again though? πŸ€” twt stores the acquired token in ~/.twt.yaml. Why do you need to use expect? Just for the first time?
@prologic There is something funny with this Bluetooth keyboard on my Mac that prevented me to input the right password, so I used a
expect
script to send
twt
the correct password.
@prologic There is something funny with this Bluetooth keyboard on my Mac that prevented me to input the right password, so I used a
expect
script to send
twt
the correct password.
@prologic @oevl I mean "funny" as in "not functioning well". πŸ˜…
@prologic @oevl I mean "funny" as in "not functioning well". πŸ˜…
@oevl To build
twt
and
twtxtd
in FreeBSD:

- Install
go
and make sure to add
~/go/bin
to your
PATH

- Use
gmake

- Install
minify
(although I think I had not added
go/bin
to
PATH
)
- Install
pkgconf
that gives you
pkgconf
and
pkg-config

-
gmake deps && gmake

- It will run the server, so just
ctrl-c
and start using the programs.
@oevl To build
twt
and
twtxtd
in FreeBSD:\n\n- Install
go
and make sure to add
~/go/bin
to your
PATH
\n- Use
gmake
\n- Install
minify
(although I think I had not added
go/bin
to
PATH
)\n- Install
pkgconf
that gives you
pkgconf
and
pkg-config
\n-
gmake deps && gmake
\n- It will run the server, so just
ctrl-c
and start using the programs.
@oevl To build
twt
and
twtxtd
in FreeBSD:\n\n- Install
go
and make sure to add
~/go/bin
to your
PATH
\n- Use
gmake
\n- Install
minify
(although I think I had not added
go/bin
to
PATH
)\n- Install
pkgconf
that gives you
pkgconf
and
pkg-config
\n-
gmake deps && gmake
\n- It will run the server, so just
ctrl-c
and start using the programs.
@oevl WOW! 😳 That's kind of crazy and amazing at the same time! What a good use of pexpect 🀣
@oevl WOW! 😳 That's kind of crazy and amazing at the same time! What a good use of pexpect 🀣
@oevl WOW! 😳 That's kind of crazy and amazing at the same time! What a good use of pexpect 🀣
@oevl Cool! Can you put up a PR to our docs for this for other FreeBSD folks? πŸ™‡β€β™‚οΈ
@oevl Cool! Can you put up a PR to our docs for this for other FreeBSD folks? πŸ™‡β€β™‚οΈ
@oevl Cool! Can you put up a PR to our docs for this for other FreeBSD folks? πŸ™‡β€β™‚οΈ
@prologic Sure, I will check the step about β€œminify” and submit a PR later today.
@prologic Sure, I will check the step about β€œminify” and submit a PR later today.
@oevl yeah that was the same as me, I didn't add go to my path. once I did, it installed smoothly.
@oevl yeah that was the same as me, I didn't add go to my path. once I did, it installed smoothly.
@markwylde Having a proper Go environment is crucial, but I did a hurried Go install on that FreeBSD box and just tried to build
twt
right away.
@markwylde Having a proper Go environment is crucial, but I did a hurried Go install on that FreeBSD box and just tried to build
twt
right away.
@prologic Edited the README and submitted that in the PR. Hope it's ok with the maintainers.
@prologic Edited the README and submitted that in the PR. Hope it's ok with the maintainers.
@oevl It’s merged πŸ™‡β€β™‚οΈ
@oevl It’s merged πŸ™‡β€β™‚οΈ
@oevl It’s merged πŸ™‡β€β™‚οΈ