#dev 2023-03-28
2023-03-28 UTC
# benatkin I had an idea for a decentralized code sandbox without storage where I could send friends a link to something I create encoded in the URL - I could create sandbox.benatkin.com and make it only show stuff that the client-side code which has the public key confirms to be signed with my private key
# benatkin https://sfc.vuejs.org/#eNo9j71uwzAMhF+FZQe3QG2ha+AE6NaH4JLYdKLA+oEoO4Ohdy/lFNl4d+SH44Y/MXbrwnjAXoZkYwbhvMQTeetiSBk2SDxBgSkFB42uNuTJD8FLBidXONb8o/nleQ7wbv1o+cGXduT1rfkk35snVoEqMrs4nzOrAuhv36dt2yGl9EbV7loflwxr68LI85FQc0KNevO6xi98tmvdOXZ3CV77b/Wa/gMhPMDuVE9bV014yznKwRiZhvr1XbqQrkanLi0+W8cdi2svKTyEk4IJK6KQL1j+AL6xZx0=
geoffo joined the channel
# benatkin This is related to what I've been working on. This is public but doesn't support embedding code in links and I'm not sure I want to support embedding just any code in links - that is I don't want it to be a public sandbox that lets you have any code appear on my website - just code by someone who has access to the website.
# benatkin https://macchiato.codeberg.page/#/ it saves pages in localstorage as they're edited and shows in the hamburger menu - codeberg pages is like github pages if anyone wants to look at the source but for codeberg.org if anyone wants to look at the source - and it's for mobile and I find the simple textarea currently works better than other code editors like monaco and even codemirror at the moment :/
# benatkin can create other pages by going to different urls like https://macchiato.codeberg.page/#/20230327/notes
# benatkin direct link to the source: https://codeberg.org/macchiato/pages
lagash and angelo joined the channel
# aaronpk IndieAuth shoutout at IETF 116! https://media.aaronpk.com/2023/03/file-20230327185052-9007.jpg
# prologic Nice!
lagash and geoffo joined the channel
lagash, IWSlackGateway and oodani joined the channel
# IWDiscordRelay <Lunarequest#0122> I wanted to write my own webmetions end point, but I don't understand beyond the first bit where the end point has a post form with `source` & `target`, what happens next?
pharalia joined the channel
# aaronpk you'll need to fetch the `source` page to verify that it has a link to `target` https://www.w3.org/TR/webmention/#webmention-verification
# aaronpk you can use this tool to have it send you a webmention to test with https://webmention.rocks/receive/1
# IWDiscordRelay <Lunarequest#0122> is there a good library for parsing microformats in rust? also by asynchronously do the docs mean we just have to reply with ACCEPTED and then figure out if it really is a valid webmentions?
# IWDiscordRelay <Lunarequest#0122> is https://gitlab.com/maxburon/microformats-parser on crates?
# IWDiscordRelay <Lunarequest#0122> crates.io its where libraries n stuff live
# IWDiscordRelay <Lunarequest#0122> Ah I found it
# IWDiscordRelay <Lunarequest#0122> I have no idea how it works but its there
lagash, [jeremycherfas], Xe, mro, ^ilhalmer, pmlnr, omz13-, rubenwardy, alecjonathon, jeremycherfas, vladimyr, cellular, [0x3b0b], pmlnr1, aynish, micheledm[m], starrwulfe[m], Gorro_Rojo[m], benatkin, kandr3s, Seirdy_, JaeSheHer[m], mambang[m], Gorro_Rojo[theyi, JaeSheHerBeep[m] and IWSlackGateway joined the channel
# IWDiscordRelay <capjamesg#4492> aaronpk Crates is a package manager for Rust.
# IWDiscordRelay <Lunarequest#0122> crates isn't a package manager. its the repo. cargo is the package manager
# IWDiscordRelay <capjamesg#4492> 🤦
# IWDiscordRelay <capjamesg#4492> Perhaps you can tell I'm not a Rust developer.
# IWDiscordRelay <capjamesg#4492> Lunarequest[d] ++
# IWDiscordRelay <capjamesg#4492> Lunarequest[d]++
geoffo joined the channel
# IWDiscordRelay <Lunarequest#0122> capjamesg[d]: is cool
# IWDiscordRelay <Lunarequest#0122> [edit] capjamesg[d]: is cool, cargo isn't everyone's cup of tea
# IWDiscordRelay <Lunarequest#0122> btw the examples use microformats v0.2.0 but the latest version is v0.3.0 it might be a good idea to upgrade to it
lagash and IWSlackGateway1 joined the channel
# IWDiscordRelay <Lunarequest#0122> would anyone know if theres a better example of using the microformats rust lib? the website just parses the html and spits it into serde which turns it into json. doesn't really tell you how to extract certain values eg the content or the author
[snarfed] joined the channel
# [snarfed] Lunarequest try https://microformats.org/wiki/h-entry ?
# IWDiscordRelay <Lunarequest#0122> Thanks
mro and [tantek] joined the channel
# Loqi It looks like we don't have a page for "authorship algorithm" yet. Would you like to create it? (Or just say "authorship algorithm is ____", a sentence describing the term)
# Loqi authorship is how to indicate who the author is for a post, and an algorithm that determines the author of a post https://indieweb.org/authorship
# [tantek] authorship algorithm is /authorship-spec
[KevinMarks], lagash, mro, [schmarty] and gRegor joined the channel
lagash and mro joined the channel
# [schmarty] i've used the `<iframe srcdoc>` for this.
# [schmarty] the srcdoc contains a preview of the embed (e.g. youtube thumbnail and play button along with video title). all of it links to the actual embed `src` URL for the iframe, which will load within the iframe when clicked.
# [schmarty] pretty much! it's kind of gross to work with but got the job done for the usecase i had.
mro and lagash joined the channel
# [KevinMarks] Srcdoc is html, no data url needed
lagash, [dave] and superkuh joined the channel
[chrisbergr] and lagash joined the channel