# 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 4637
# self = https://watcher.sour.is?uri=https://twtxt.net/user/https://twtxt.net/user/prologic/twtxt.txt/twtxt.txt&offset=3737
# next = https://watcher.sour.is?uri=https://twtxt.net/user/https://twtxt.net/user/prologic/twtxt.txt/twtxt.txt&offset=3837
# prev = https://watcher.sour.is?uri=https://twtxt.net/user/https://twtxt.net/user/prologic/twtxt.txt/twtxt.txt&offset=3637
@antonio I agree. This is something I will never want in building out Twt.social pods and Twtxt. It's a horrible idea.
@gugod Yeah I used this algorithm (_ Levinshtein distance_) to build a real-time text editor for multiple participants a few years ago as a prototype. It works great!
@sorenpeter Looks like it worked nicely! You have a few bugs in your code though around encoding certain characters, but that's okay ๐
@darch @sorenpeter Oh I haven't caught up with reading my Github notifications this morning. I'll have a look and respond there! Thanks! ๐โโ๏ธ
I'm _really_ excited at the prospect of 3 new pods getting spun up soon (_in the works_) by @jlj @thewismit and @oval -- Will give me the _right_ excuse to build a "migrate feed" feature so users can freely move their feed/account from one Pod to another, or even import a traditional twtxt feed and merge it with a account/feed they own on a Pod somewhere. ๐ค
@antonio Agreed. I mean yes on one hand he is right, sorting algorithms are well umm "algorithms", but he's completely missing the actual point. It's the controlling what users see that's the real issue here. Or at least that's a big part of the problem.
@sorenpeter @darch Also on this software there is a known bug where deleting a Twt in your feed or modifying it that started a conversation can break the conversation chain a bit. We're not really sure yet how to address this, but it's on the back of some of our minds mostly @lyse and I.
@sorenpeter @darch it actually does, but you need to add a few things to your PHP client. Namely preserve the subject when replying. And if you're constructing a new conversation you need to embed the Hash of the Twt you're replying to in the Twt Subject. This is all documented at https://dev.twtxt.net/
@sorenpeter No not really. Itโs another multi-user web client
@oevl That's fine too. I just want to help document how to run it better so it's not just me ๐
@hxii Yeah that's what it's designed for. micro blogging. Twt.social pods like this one (twtxt.net) support both though. micro-blogging, what you see here and full blogging. e.g: https://twtxt.net/blogs/prologic
@oevl @jlj Can you both jump on #jointwt on FreeNodd when you can ? Itโs important to the project that spinning up new pods is as easy and well documented as possible
@hxii Welcome to Twtxt! ๐ค How are you find it so far? ๐ค
Maybe it's just me but I _think_ we need to keep things simple, allow humans to do the "thinking" and "choosing". It's far too easy to get into situations where you have all of the problems created by the big traditional social media platforms with Likes, Retweets, Trending, Immutable content (_it never goes away_), Top Heavy (_millions of followers_), etc.
@antonio Yeah I _believe_ I recall someone saying that it's not about having algorithms or not having algorithms. That person stated that even sorting a timeline chronologically is an algorithm. I _think_ we have to define very clearly what algorithms means for social media and how they can be used and abused. I've thought about it a lot, and I still _believe_ that even doing simple things like showing a "Trending" section of Twts where there's a lot of twts being tagged with #foo is a bad idea.
@oevl Why? What's the problem? That's pretty much my setup here, Docker Swarm cluster + Traefi ingress.
@oevl I agree. Can you help with this?
@thewismit You need to set an appropriate value for -u url
or BASE_URL
env var.
be sure to set a correct base Iโll for your instance with -u
and regarding the port. I would just bind a different host port
@thewismit Yes! Would a regular single-host docker-compose.yml
help without making any assumptions about ingress load balancers, etc?
@antonio Yeah I mean if Twitterโข rebuilt their app on Bluesky, and all (_or almost all_) Twitterโข users migrated to other Bluesky compatible platforms/servers/instances/whatever, would Twitterโข have enough users left to continue to fund their advertising based business model? ๐ค Or did I _somehow_ miss the point of Bluesky and _maybe_ there is some mechanisms for "monetization" in there?
@thewismit Yes. There is a twtxt.yml
in the root of the repository which is designed to run in a Docker Swarm cluster. Does that help?
@darch @sorenpeter Yes that is correct. I noticed this before too. UTF-8 characters in username/nicknames are illegal here. Although I _guess_ they could be allowed, but that's some pretty complicated regex for me to think about ๐คฃ
@darch @sorenpeter You currently have two feeds or personas. One that exists on my pod (twtxt.net) and one that you host yourself on your own website that is external to my pod (_which is the primary client I use_).
@sorenpeter @darch Yeah there are _some_ known bugs with some of the regexes used. @xuu is working on a parser that _should_ hopefully fix this properly going forward. But I didn't quite understand your question ๐คฃ Can you restate? (_without the examples_)
Great ๐ Don't forget to teach your client how to render -mentions, they _should_ be preprocessed into their proper twxt syntax.
@sorenpeter Also btw... Whatever code/client you're attempting to write needs to do a few things like preprocess your text and translate @foo
into @<foo url>
.
@darch Because the backend web server sets the correct mime type to text/plain; charset=utf-8
@darch You need to use a mime type of text/plain; charset=utf-8
in your web server.
@darch because if you delete your last post your second last post them becomes your last post ๐คฃ
silly cat ๐น
@darch you can only edit or delete your last one
@sรธrenpeter renders just fine ๐
@sรธrenpeter Seems to be working ๐
@adi itโs some thing my old professor used to say where every problem can be solved by a set of steps or a method
@adi Does it render twtxt feeds or something? That's what @darch was asking about...
Webring\n\nFound this webring of websites by artists and developers. They are even ~29 Twtxt feeds! ๐ณ #twtxt~
@thewismit @adi I actually donโt have a problem with that pattern myself. youโre basically just executing a different code path in your binary depending on the value of argv[0]
@adi Maybe.. But itโs okay once you get used to it ๐
@thewismit Because it was developed by @dooven whom is Canadian, and came up with the name "Goryon" which apparently is a particular species of bird ๐คฃ
@thewismit It already supports that! There are in fact two other pods that have nothing to do with me that belong to @xuu and @etux ๐
@antonio I wonder though... If Twitterโข eventually plans to build its app on top of Bluesky, how will they continue to monetize Twitter as a company? ๐ค
The Buy Nothing Project\n\nSeems like a cool project! I don't know much about it though... Anyone familiar with it at all in their locality? ๐ค
Stats for this pod (twtxt.net) for the past ~90 days. ๐ณ\n\n
~
@adi Oh you put an exclamation point on the end of your link ๐คฃ
@vain @lyse Nice shots! I guess global warming is making places colder than they used to be?
@bml Hello! ๐ Welcome to Twtxt! ๐ค
@darch Sorry I don't know of any. I just searched around on Github and there isn't a lot of Twtxt code/projects written in PHP that I can find.
@darch Yeah it's actually pretty easy. Just requires a twtxt.txt
file to be served up by a web server. Anything capable of serving text/plain
will work. The format/spec can be found at https://twtxt.readthedocs.org -- We also have developed extensions to the spec at https://dev.twtxt.net -- But if you just want to add a feed to your site, just drop a twtxt.txt
file and serve that up somewhere.
> is there any PHP paser and posting UI for twtxt yet?\n\nI'm not sure to be honest. I'm not up to date with the PHP ecosystem.\n\nWhy?
@off_grid_living Very nice looking "power house" coming along there! Pretty solid looking door too! ๐
@felixp7 No worries. Thanks for being a part of this. Hope to see you around again in the future! ๐ค
We need more self-hosted, decentralized, open and federated โthingsโ ๐
@antonio yeah the problem with all of these messaging platforms is theyโre so fundamentally incompatible with each other.
Just dondate $10 USD for now today, but next weekend I'll donate a further $100 USD. \n\n> Help support Signal by donating today! ๐ค
Signal >> Donate to Signal\n\n> Someone remind me to Donate to Signal next weekend. I encourage all and everyone that can afford it to also donate to Signal. As mentioned here Signal is _actually_ a non-profit company and rely on donations to keep them up and running. The recent uptake in Signal from mass-exodus from WhatApps users took down Signal for a a day or so due to what I assume to be infrastructure pressure.\n> Please help out! โค๏ธ
How Signal Protects Privacy \n\n> Signal, however, is a non-profit organization. This lack of a business model is a significant reason why the app is so focused > on privacy. Since the company isnโt trying to make money, it can exist for the sole benefit of the user. \n> \n> Instead of earning a profit, Signal relies on donations to stay up and running. Also, because the program is open-sourced, developers can go in and offer patches and solutions, all without racking up a substantial bills...
@ionores a "Heineken" ?! ๐คฃ "Uggh"! ๐\n\nGotta get into the Good Stuffโข mate ๐บ ๐
[Amalgamated Tsundoku Psychohazard on Twitter: "@deepfates @aaadonai As far as I can tell, almost nobody uses it and nobody at all uses it as their primary microblogging system. I use it, but I only post to it (and only actually update the corpus intermittently), and my twtxt feed consists mostly of stuff I also crossposted to twitter ](https://twitter.com/enkiv2/status/1305917457366949889)\n\nHaha ๐คฃ I do use this (twtxt.net) as both my primary micro-blogging and full blogging platform ๐ #twtxt
@felixp7 Fixed that JS bug where textarea wouldn't expand when initially clicking on the write button to start writing a Twt Blog post.
@antonio Let me guess, they say things like, "I don't have anything to hide!" or "I'm not that important, no-one cares what I say", etc... ๐ค
@jlj I know right! ๐คฃ We sure know how to make things complicated don't we ๐
Nah doing nothing is worse _sometimes_. An _extreme_ example...\n\n> Let's say you witness someone being picked on. What do you do? Sit idly by because its not your business?\n\nDoing nothing _can_ be worse ๐
@prologic The first comment on Hacker News is actually really interesting. It just goes to show you how things done with good intent _can_ eventually wind up being abused. ๐ค
@jlj Why? ๐ What did have in mind? ๐ค I'm kinda curious now!
@hans That would be awesome! Thanks ๐ PR(s) are most welcome of course! ๐โโ๏ธ