Comment by ๐ฒ byte
Re: "Help me figure out titan please?"
@ps ye that's the exact reason i'm doing titan implementation. I thought that size=0 would work, but now i see it's a gray area for interpetation
2025-02-08 ยท 1 year ago
7 Later Comments โ
๐ป ps ยท 2025-02-08 at 19:38:
it's a gray area for interpetation
+1 same thoughts after first experience on client-side
I have some other questions, recently described here:
โ bbs.geminispace.org/s/Gemini/24978
imho - do not care about the deletion, I think for any public photo-hosting it's much important to auto-delete content without views (to not overload the server with dead content)
is this project opensource? could you share the reference to the repo if yes?
๐ฒ byte [OP] ยท 2025-02-08 at 19:47:
@ps it will be, for now it's just a semi-working draft, as I don't have too much time to make it work properly yet
๐ป ps ยท 2025-02-08 at 19:57:
@byte that's because I'm asking for, because would glad to participate (if that's Rust only)
๐ป ps ยท 2025-02-08 at 20:05:
@byte hey, I have recently added you to the moderators of /s/Ukrainians band!
๐ skyjake [mod...] ยท 2025-02-08 at 20:35:
@byte:
size=0 would work, but now i see it's a gray area for interpetation
The protocol does not define a way to set a client-side constraint on the data that the user is supposed to send in the request. So a Titan URL cannot include a "size=N" parameter, because the size is only determined based the data that the user chooses. One would have to extend the specification to allow for this.
๐ฒ byte [OP] ยท 2025-02-08 at 20:45:
@ps the titan handling code is currently here - https://git.sr.ht/~byte-/gabbro, and the imgur part will be a set of CGIs
๐ป ps ยท 2025-02-08 at 21:25:
thanks, just sr.ht gives me a headache, I don't know yet how to use it :)
Original Post
Help me figure out titan please? โ I wrote a link like titan://localhost/file;size=0; and according to the titan's specification this is supposed to mean "file deletion". And technically it works, but when I press the link in Lagrange it opens up the file upload dialog anyway. Is it a Lagrange-specific behavior or am I missing something?