I’m the developer of a desktop-first Lemmy client called Alexandrite.
- 47 Posts
- 121 Comments
sheodox@lemmy.worldto Lemmy Apps@lemmy.world•how to upload image? (lemmy fetch api)English1·3 months agoIt might not help because it’s in svelte and it doesn’t look like you’re using
lemmy-js-client
, but this is an example of how I do it in Alexandrite usinglemmy-js-client
. TheonPaste
function handles thepaste
event on the markdown editor textarea when someone pastes with an image in their clipboard, and theonFileInputChange
is thechange
event for an<input type="file" />
element so when someone selects a file it uploads and the input’s label can be styled like a button. Here is the client’s fetch function which handles the authorization header and whatnot. You can upload client-side without a proxy server for any instance running a newer version of Lemmy than like… 0.19.0? I didn’t want to be responsible for proxying image uploads so I waited to add image uploading in Alexandrite until I could do the uploads directly client side.
sheodox@lemmy.worldOPto Lemmy Apps@lemmy.world•Alexandrite 0.8.19 - redesigned blocks page, instance blocking, better user/community/crosspost tooltips, 'frosted glass' card layout backgroundsEnglish4·3 months agoGood to know!
I can see how many unique users view the site in 1, 7, or 30 days, and I think after a year of no updates the 7 day average is pretty close to what it was still. Nice to see so many people liking my site!
sheodox@lemmy.worldOPMto Alexandrite@lemmy.world•Alexandrite 0.8.19 - redesigned blocks page, instance blocking, better user/community/crosspost tooltips, 'frosted glass' card layout backgroundsEnglish2·3 months agoThanks!! Yeah, though I’m not sure how I want to do that yet (since I like programming every bit myself if I can). I’ll keep thinking about it.
Ooo I love it! What lens did you use? I bought a cheap old Pentax lens that has some cool looking chromatic aberration like on the branches in your photo and I love it.
I recently got back into working on Alexandrite after a little more than a year of no activity/updates, and I’ve been checking out Photon. I’m extremely impressed with what you’ve managed to accomplish while I’ve been gone! I’ve already taken inspiration from your work with some of my recent changes, and will likely copy more of your homework. Like others are saying, don’t sell yourself short! You’ve built one of the best Lemmy frontends out there and I’ve got a lot of catching up to do.
sheodox@lemmy.worldOPMto Alexandrite@lemmy.world•Alexandrite 0.8.18 - pretty toolbar dropdowns, moderator view, relative/absolute dates setting, pure light/dark theme backgroundsEnglish4·3 months agoNot yet but I’ll add that eventually.
sheodox@lemmy.worldOPMto Alexandrite@lemmy.world•Alexandrite 0.8.17 - default comment sort setting, copyable community/user 'addresses', and moreEnglish4·3 months agoAh right, totally forgot about that. It’ll be in the next release!
sheodox@lemmy.worldOPMto Alexandrite@lemmy.world•Alexandrite 0.8.16 - image uploading, proper banners, avatar/banner profile settingsEnglish2·3 months agoThank you! Glad you like it!
sheodox@lemmy.worldOPto Lemmy Apps@lemmy.world•Alexandrite 0.8.16 - image uploading, proper banners, avatar/banner profile settingsEnglish6·3 months agoThis was the most glaring missing basic feature for so long, glad it’s finally in, I don’t have to go back to the default ui just to write my announcement posts anymore. It wasn’t possible to upload images from third party websites last time I was actively working on Alexandrite, and I think it’s been possible for quite a long time by now and I’m finally getting to it.
sheodox@lemmy.worldOPMto Alexandrite@lemmy.world•Alexandrite 0.8.15 - sidebar redesign and moreEnglish3·3 months agoGlad there are people still here enjoying it! :)
Next update will include image uploading, here’s a preview:
sheodox@lemmy.worldto Fediverse@lemmy.world•CNET: Fed Up With Instagram? How to Move Your Photos to PixelfedEnglish161·3 months agoI don’t think so, at least when I scroll my pixelfed feed it loads images from various domains.
sheodox@lemmy.worldOPMto Alexandrite@lemmy.world•Alexandrite 0.8.14 - Theme updates and some other stuffEnglish7·4 months agoI was feeling pretty bad about leaving it untouched for so long, but working on (any of) my side projects wasn’t interesting me for a while. However with all the general social media turmoil out there (Meta trying to be more evil, US banning TikTok, and billionaires in general being just the worst) I figured I should do my part to improve the appeal of the fediverse. Seeing lots of things I want to improve, and I’m remembering how much I like making things look nice.
sheodox@lemmy.worldOPMto Alexandrite@lemmy.world•Alexandrite 0.8.14 - Theme updates and some other stuffEnglish3·4 months agoLol I was wondering how people would react to seeing it for the first time. Thanks!
sheodox@lemmy.worldto Lemmy Integrations@lemmy.dbzer0.com•Threativore now provides a REST APIEnglish1·4 months agoWould the tags be visible to everybody or is it meant to serve like an admin only note taking system?
sheodox@lemmy.worldto Lemmy.world Support@lemmy.world•What's changed in the Alexandrite interface?English2·10 months agoI am still around, but I’ve always been a lurker. Just saw the notification so I’m a couple days late. I do see mentions!
sheodox@lemmy.worldOPMto Alexandrite@lemmy.world•Alexandrite 0.8.12 - Initial Lemmy 0.19.0 supportEnglish4·1 year agoIf it works like blocking works for users/communities, posts from blocked instances shouldn’t show up in Alexandrite too.
sheodox@lemmy.worldMto Alexandrite@lemmy.world•Feature Request: Go to a community using the search barEnglish2·1 year agoYep, this is a bug I’m aware of, for what it’s worth there’s also an issue on Github someone reported this in. You can track it here.
sheodox@lemmy.worldMto Alexandrite@lemmy.world•[Feature Request] - Edit Community SidebarEnglish3·1 year agoYep, I would like to do that at some point, just haven’t been working on Alexandrite all that much lately, but it’s still on my todo list!
sheodox@lemmy.worldto Memes@lemmy.ml•POV: Your paper doesn't quite meet the page requirement.111·1 year agoOr find and replace all the periods with ones that are slightly larger font.
It was pretty easy to be honest nothing really that fancy because it’s just sorting things I’ve already loaded into buckets and summing it up. Heard from a moderator that they disliked the removal of ‘karma’ from the API a while ago for identifying trolls (which Alexandrite used to show even though the default ui didn’t) and I thought something like this would be a good middle ground.