@shreyan@twtxt.net Umm, no, the file’s contents are just URL encoded. That can either by in the Query String, or Request Body, but not both. It’s a pretty standard way of encoding a form.
@stigatle@yarn.stigatle.no Haha well Nanook is just as cute 😅
@movq@www.uninformativ.de Wait?! What happened?! When?! Is that why one of my external minitors went down, but nothing else did?! 🤔
@stigatle@yarn.stigatle.no Cool! I expec some nice shots 😁
@stigatle@yarn.stigatle.no Looks like we’re having a bit of a quiet weekend 😅 Taking my daughter to table tennis training (second week), she’ll also be starting piano classes and the usual Sunday family brunch 😁
@yakumo_izuru@tsuki.chaotic.ninja Then you can freely edit the Wiki 😆
@mckinley@twtxt.net Hah! 🤣
@yakumo_izuru@tsuki.chaotic.ninja You got an account on my insurance? 🤔
@eldersnake@we.loveprivacy.club Ooops 😅
@eapl.me@eapl.me Oh’really? Hmm there’s a script that’s meant to check for that. I’ll have a look later 👌
I added the Yarn Desktop Client and Goovy Twtxt to the landing page for Yarn.social
@stigatle@yarn.stigatle.no Nice 👌
@movq@www.uninformativ.de I see 😱🤯
@stigatle@yarn.stigatle.no Remind me where the project’s home page is again? 🤔
@lyse@lyse.isobeef.org Dunno what you guys are taking about 🤔 But yeah, we humans are scum of the earth 🤣
@mckinley@twtxt.net Oh yeah! 👌
codellama
or codellama
(See Models), or whether I'm expecting far too much out of these "glorified" token prediction machines, but all this seems to be good for is banging out repetitive keystrokes.
@eapl.me@eapl.me Cool! 🙃 I’m still trying to learn to use it effectively but I’m unconvinced I’ll use it long term and I find it quite umm “dumb” and frustrating at times 🤦♂️
@eapl.me@eapl.me Let me know how that goes for you 👌 I might be convinced to do the same 👌
Reckon we should publish your client on the landing page at some point? 🤔
@movq@www.uninformativ.de Good to know! 👌
@stigatle@yarn.stigatle.no Yeah it’s basically just calling the task URI you get back as I showed in the other thread 👌
@stigatle@yarn.stigatle.no Yeah saw you got it working! Nice one 👌 Very happy about that! Did you also manage to implement the polling too? (which is important for longer tasks, like uploading a video, which does some transcoding on the backend)
@stigatle@yarn.stigatle.no Oh nice one! 🥳
@xuu@txt.sour.is Good question! 🤔 I’m sure it’s in the QR code specs somewhere, but I honestly haven’t tried it. My use-case for this little snippet is basically taking URL(s) colleagues give me that’s like “oh hey this is an interesting book or article” and offloading that to my personal device without traversing any network boundaries and such. i.e: air-gapped.
@xuu@txt.sour.is Yeah I’m basically doing point-to-point or multipoint-to-point which sso far is working well 👌
@xuu@txt.sour.is Yeah, I’m starting to look more seriously into things like this to eventually replace my dependency on Cloudflare and having to have Cloudflare “reach in” 😅
@xuu@txt.sour.is Noice! 🥳
@xuu I think so too 👌
Need to share something with your smart phone?
qrcode "$(pbpaste)" | open -a Preview.app -f
@xuu@txt.sour.is Okay 👌
If you wouldn’t mind updating the Wiki with this info 😅
This works for:
- images
- video
- audio
Basically:
- Hit the
/api/v1/upload
endpoint with a valid token andmedia_file
as a Form URL encoded payload.
- Hit the Task endpoint you get back until
status=complete
- Use the URI once complete
@stigatle@yarn.stigatle.no Yeah sorry about that! Here’s how to do it!
$ curl -F media_file=@gitea.png -H "Token: $YARND_TOKEN" https://twtxt.net/api/v1/upload
{"Type":"taskURI","Path":"https://twtxt.net/task/FiBmMQbNF7bicLSZsWybmN"}
$ curl https://twtxt.net/task/FiBmMQbNF7bicLSZsWybmN | jq '.'
{
"state": "complete",
"error": "",
"data": {
"mediaURI": "https://twtxt.net/media/rhkm36YACemg7TBmG7d2Q6.png"
}
}
“
@stigatle@yarn.stigatle.no it’s truly horrifying and disgusting. I hate how we behave as humans at times, and this is some of the worst 😢
@stigatle@yarn.stigatle.no Fuck’n hell 🤦♂️🙃
@stigatle@yarn.stigatle.no Is this new? What’s this? 🤔 😱
@stigatle@yarn.stigatle.no Nice! 👌 We had @screem@yarn.yarnpods.com over this afternoon 👌 Probably have Sunday breakfast tomorrow with the family and do more work on a product we’re trying to build 🤞
@hacker-news-newest@feeds.twtxt.net Speaking of “Making Hard things Easy”… Why is it in some circles/places do you find yourself among some folks that make understanding anything they say so freak’n hard 🤔 🤣
@stigatle@yarn.stigatle.no Yeah we have a pretty packed weekend ourselves 😅 What are you up to? 🤔
@lyse@lyse.isobeef.org Unicorn vomit eh? 🤣 Nice colors!
@stigatle@yarn.stigatle.no Love it! 😍 I can just hear the ocean waves and feel the cold wind 🥶
@mckinley@twtxt.net Scrub it out 🤣
@mckinley@twtxt.net Fair points
@mckinley@mckinley.cc No photo? Didn’t happen! 😅
@mckinley@twtxt.net To be fair I think iPad/iPhone is a bit different? You buy the “device” but you most certainly don’t pay for a subscription to the OS? 🤔 Maybe I’m wrong here and it’s all the “same same” 🤔
@movq@www.uninformativ.de Haha now that one is kind of funny I admit but most puns I find utterly stupid 😆
I really could use some help with yarnd too and maybe a few interested parties could get together and build a better Twtxt / ActivityPub service? 🤔
@stigatle@yarn.stigatle.no Ahh!!!! 🥳🥳🙃 Awesome news I’ve heard all week 😁