💾 Archived View for gemi.dev › gemini-mailing-list › 000348.gmi captured on 2023-11-04 at 12:43:14. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
(mirrored at gemini://breadpunk.club/bakers/breadw/slices/1598160221.gmi) Thanks to sloum's wonderful work at => gemini://gemlog.blue as well as their generosity in sharing their codebase with me, I'm pleased to announce that breadpunk.club now has a web-facing gemini authorship tool: => https://slice.breadpunk.club Bakers at breadpunk.club are now able to author posts in their gemini capsules on the web, without using ssh, ftp, or other protocols that might be blocked (as is the case for me!). As of now, all posts will appear in a slices/ subdirectory in bakers' user capsules, but I might try and change it to allow editing of any URL the baker owns. If you're not already a baker at breadpunk.club, you can join through the instructions at https://breadpunk.club/join/. To get started, ssh into breadpunk.club and create a sigil file at ~/.slice. Immediately afterward, go to => https://slice.breadpunk.club/reg.php to register your username and password with slice. That should be it! You can start posting immediately. I hope this makes it easier for some of our bakers update their breadlogs (which don't necessarily have to be about bread, by the way!). I know I will be. # Notes Much of slice's functionality is the same as gemlog.blue's -- you can add "slices," or posts; you can edit and delete them; and you can update your password or delete your whole slice directory. In the future, I want to enable users to edit their slice index.gmi, add options to "auto-title" slices, and possibly edit anything in their public_gemini folders. I'd love to hear what other ideas yall have, or thoughts or concerns or whatever! I *think* my code is secure, but I'm pretty green, so who knows? (Should I be admitting that on the internet?) ~ breadw (acdw)
This is cool! It's nice to see another thing similar to gemlog.blue, although it'd be nice as well to not end up creating an ecosystem that relies on this all the time. Two questions: What do you mean by "create a sigil file"? And is the source code of this site available? That'd be great. Cheers, makeworld
On 2020-08-28 (Friday) at 18:07, colecmac at protonmail.com wrote: > This is cool! It's nice to see another thing similar to gemlog.blue, > although it'd be nice as well to not end up creating an ecosystem that > relies on this all the time. This is a really fair point. I really just made this (and use gemlog.blue all the time) because I don't have ssh access at work, and I figure others don't either. Ideally, there'd be another server that's like Phoebe but non-wiki-fied, or something like it -- using a partner protocol to upload content "in-band," as it were. Maybe something for me to work on! > > What do you mean by "create a sigil file"? Hey, sorry this wasn't clear. Since I wanted to limit the users of this site to users of breadpunk.club, I have the user verification just look at the users on the system to see if it's valid. Of course, I realized that there needed to be a check when someone *creates* a user account -- since the user list is public, anyone could impersonate a current user and post as them, basically. The best idea I could come up with is a file, ~/.slice, to act as a sort of sigil or sign -- if a user wants to post using slices.breadpunk.club, they'll need to ssh in and add that file (and since only they can do that, it'll ensure it's them) before they sign up. Of course, there's still some insecurities there: there's a lag between the creation of the slice file and signing up, for example. I admit I'm relying on the smallness of this space to keep secure, which ... isn't great. > > And is the source code of this site available? That'd be great. As of now, no -- let me "clean it up" and post it somewhere tonight or tomorrow, and I'll ping this thread again. I need to comb through it a little more and make sure it's as secure as I can make it. This is the first "real" PHP I've written (copy-pasted), so I'm a little nervous! Thanks for the interest though :) -- ~ acdw acdw.net | breadpunk.club/~breadw
---