# 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 1188
# self = https://watcher.sour.is?uri=https://dev.txt.sour.is/user/xuu/twtxt.txt&offset=215
# next = https://watcher.sour.is?uri=https://dev.txt.sour.is/user/xuu/twtxt.txt&offset=315
# prev = https://watcher.sour.is?uri=https://dev.txt.sour.is/user/xuu/twtxt.txt&offset=115
@prologic @thewismit not sure.. im using Caddy instead of nginix
@xuu @prologic (#6jkpxzq) hmm from what i can tell its parsing ok.. something got broken in the markdown conversion...
@xuu @prologic (#6jkpxzq) hmm from what i can tell its parsing ok.. something got broken in the markdown conversion...
@prologic hmm this line seems to be tricky to parse. will need to look into it.
@prologic hmm this line seems to be tricky to parse. will need to look into it.
@prologic test. Running new parser on txt.sour.is. :D
@prologic test. Running new parser on txt.sour.is. :D
@prologic that would be an interesting idea. I think your current spec of using an SMTP proto is probably best for DM.
but having a federation of IRC servers would be interesting for realtime twt propagation.
@prologic that would be an interesting idea. I think your current spec of using an SMTP proto is probably best for DM.
but having a federation of IRC servers would be interesting for realtime twt propagation.
@prologic the meta info on the top I added manually. it's following what I have seen from some other twtxt feeds. the new parser will read them.
@prologic the meta info on the top I added manually. it's following what I have seen from some other twtxt feeds. the new parser will read them.
@prologic Veri soon. I have a experimental runflag that I am just about to deploy to my node. I have a few show stoppers holding me back.
@prologic Veri soon. I have a experimental runflag that I am just about to deploy to my node. I have a few show stoppers holding me back.
Emoji nicks are no problem with lextwt. 😁
Emoji nicks are no problem with lextwt. 😁
@prologic sometimes I think it would be nice to have a XMPP instance. then I remember it's all XML and I think "nah."
I am constantly in awe that IRC remains the only realtime chat that isn't unnecessarily complex. name another that can run chatops bot with just nc and sh?
@prologic sometimes I think it would be nice to have a XMPP instance. then I remember it's all XML and I think "nah."
I am constantly in awe that IRC remains the only realtime chat that isn't unnecessarily complex. name another that can run chatops bot with just nc and sh?
@prologic @xuu Closer! Last bit to finish is a beast. FormatTwtFactory
@prologic @xuu Closer! Last bit to finish is a beast. FormatTwtFactory
@prologic that seems to match my numbers. are you picking up the few gophers out there?
kinda makes me wonder about the ~300k you have cached. y'all got the library of alexandria over there.~
@prologic that seems to match my numbers. are you picking up the few gophers out there?
kinda makes me wonder about the ~300k you have cached. y'all got the library of alexandria over there.~
@prologic in theory shouldn't need to let users add feeds.. if they get mentioned by a tracked feed they will get added automagically. on a pod it would just need to scan the twtxt feed to know about everyone.
@prologic in theory shouldn't need to let users add feeds.. if they get mentioned by a tracked feed they will get added automagically. on a pod it would just need to scan the twtxt feed to know about everyone.
@prologic sounds about right. I tend to try to build my own before pulling in libs. learn more that way. I was looking at using it as a way to build my twt mirroring idea. and testing the lex parser with a wide ranging corpus to find edge cases. (the pgp signed feeds for one)
@prologic sounds about right. I tend to try to build my own before pulling in libs. learn more that way. I was looking at using it as a way to build my twt mirroring idea. and testing the lex parser with a wide ranging corpus to find edge cases. (the pgp signed feeds for one)
@prologic the add function just scans recursivley everything.. but the idea is to just add and any new mentions then have a cron to update all known feeds
@prologic the add function just scans recursivley everything.. but the idea is to just add and any new mentions then have a cron to update all known feeds
@prologic yeah it reads a seed file. I'm using mine. it scans for any mention links and then scans them recursively. it reads from http/s or gopher. i don't have much of a db yet.. it just writes to disk the feed and checks modified dates.. but I will add a db that has hashs/mentions/subjects and such.
@prologic yeah it reads a seed file. I'm using mine. it scans for any mention links and then scans them recursively. it reads from http/s or gopher. i don't have much of a db yet.. it just writes to disk the feed and checks modified dates.. but I will add a db that has hashs/mentions/subjects and such.
@lyse @prologic very curious... i worked on a very similar track. i built a spider that will trace off any follows =
comments and mentions from other users and came up with:
twters: 744
total: 52073
@lyse @prologic very curious... i worked on a very similar track. i built a spider that will trace off any follows =
comments and mentions from other users and came up with:
twters: 744
total: 52073
Yesterday was rough. Finding it hard to focus on things today.
@prologic that I do. lol. I am xuu on hackint.org and freenode
@prologic that I do. lol. I am xuu on hackint.org and freenode
@prologic yep@some of the lexer is directly copied from monkey-lang. love that book series.
@prologic yep@some of the lexer is directly copied from monkey-lang. love that book series.
@prologic ah I need to add an edge case for naked urls with fragments.
@prologic ah I need to add an edge case for naked urls with fragments.
@prologic yep. it actually extracts everything at parse time. like mentions/tags/links/media. so they can be accessed and manipulated without additional parsing. it can then be output as MarkDown
@prologic yep. it actually extracts everything at parse time. like mentions/tags/links/media. so they can be accessed and manipulated without additional parsing. it can then be output as MarkDown
@adi @prologic using regex. which can be a rather inexact science ;)
@adi @prologic using regex. which can be a rather inexact science ;)
@prologic kinda.. It can parse the twts into an AST.. but most of the formatting out expects a string to do regex over rather then the parsed AST. thats what i am working out next.
@prologic kinda.. It can parse the twts into an AST.. but most of the formatting out expects a string to do regex over rather then the parsed AST. thats what i am working out next.
@prologic ooh I am adding that to my test suite
@prologic ooh I am adding that to my test suite
@prologic @gareppa Tis fake.. that is the name of the tower in Die Hard. A movie that takes place on Christmas Eve. The actual name of the Nakatomi Plaza is the FOX Plaza.
@prologic @gareppa Tis fake.. that is the name of the tower in Die Hard. A movie that takes place on Christmas Eve. The actual name of the Nakatomi Plaza is the FOX Plaza.
@oevl @prologic (#) for the most part a subject is just the content in the perens. Usually it's a tag. It appears near the start after any mentions. It can also contain text like (re: subjects)
@oevl @prologic for the most part a subject is just the content in the perens. Usually it's a tag. It appears near the start after any mentions. It can also contain text like (re: subjects)
@xuu yikes the style sheet for blogs needs help.
@xuu yikes the style sheet for blogs needs help.
@deadguy @prologic been stewing on a discovery proto for twtxt. support for defining multiple ways to host/mirror a twtxt file. while being low tech enough to still be scriptable with basic Unix commands.
@deadguy @prologic been stewing on a discovery proto for twtxt. support for defining multiple ways to host/mirror a twtxt file. while being low tech enough to still be scriptable with basic Unix commands.
@adi @prologic I'll give it a spin first thing in the AM
@adi @prologic I'll give it a spin first thing in the AM
@prologic when its ready.. this is still in beta.
@prologic when its ready.. this is still in beta.
@prologic yeah it would replace rice. best part is that it's in the go build step so you don't need to do any prep work with make.
@prologic yeah it would replace rice. best part is that it's in the go build step so you don't need to do any prep work with make.
@prologic after stewing on it. I really like the idea of a wiki. throw it on the roadmap after DMs 😆
@prologic after stewing on it. I really like the idea of a wiki. throw it on the roadmap after DMs 😆
@prologic (#keh22ka) maybe a custom linking method on a pod level? like can pass a template that gets translated. ex https://{domain}/wiki/{nick}/{tag}
+ !somepage
-> https://sour.is/wiki/xuu/somepage
@prologic (#keh22ka) maybe a custom linking method on a pod level? like can pass a template that gets translated. ex https://{domain}/wiki/{nick}/{tag}
+ !somepage
-> https://sour.is/wiki/xuu/somepage
@prologic found it!
> 2020-07-25T00:52:27.000000Z\ta new twtxt/weewiki feature: any word starting with '!' will translate to an internal weewiki reference in my HTML renderer. Example: here is my !wiki_index
@prologic found it!
> 2020-07-25T00:52:27.000000Z a new twtxt/weewiki feature: any word starting with '!' will translate to an internal weewiki reference in my HTML renderer. Example: here is my !wiki_index
@prologic I see them is why I ask. like here #cwqmygq they use both hashtag and bangtag?
@prologic I see them is why I ask. like here #cwqmygq they use both hashtag and bangtag?
@prologic 😁 that is me testing locally. does it notify you somehow when I follow?
@prologic 😁 that is me testing locally. does it notify you somehow when I follow?
@prologic do you have any info on how the '!' tags are supposed to work? are they just a different kind of hash tag?
@xuu @prologic oh.. you are.. maybe i don't understand the issue with building?
@xuu @prologic oh.. you are.. maybe i don't understand the issue with building?
@prologic have you tried using the macos github build environment? looks like they have a windows one too.