I’m the developer of a desktop-first Lemmy client called Alexandrite.
- 40 Posts
- 52 Comments
sheodox@lemmy.worldto Lemmy Apps@lemmy.world•how to upload image? (lemmy fetch api)English1·6 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·6 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·6 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.
sheodox@lemmy.worldOPMto Alexandrite@lemmy.world•Alexandrite 0.8.17 - default comment sort setting, copyable community/user 'addresses', and moreEnglish3·7 months agoAh right, totally forgot about that. It’ll be in the next release!
sheodox@lemmy.worldOPto Lemmy Apps@lemmy.world•Alexandrite 0.8.16 - image uploading, proper banners, avatar/banner profile settingsEnglish1·7 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·7 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·7 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·7 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·7 months agoLol I was wondering how people would react to seeing it for the first time. Thanks!
sheodox@lemmy.worldto Lemmy.world Support@lemmy.world•What's changed in the Alexandrite interface?English2·1 year 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 supportEnglish1·2 years 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] - Edit Community SidebarEnglish1·2 years 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·2 years agoOr find and replace all the periods with ones that are slightly larger font.
sheodox@lemmy.worldOPto Lemmy Apps@lemmy.world•Alexandrite 0.8.8 - Mod team management, multi-platform builds, and moreEnglish2·2 years agoOops forgot to post links, I edited the post.
I host Alexandrite at https://alexandrite.app/ and several instances also host Alexandrite on their own domains, like https://a.lemmy.world
sheodox@lemmy.worldto Games@sh.itjust.works•Trackmania: Fall Campaign 2023 TrailerEnglish1·2 years agoYes, launching the game launches Ubisoft’s launcher and you have to sign into that to play.
Also if you use Proton it doesn’t auto close the launcher when you quit the game so it’ll run up your play time while the launcher is minimized to the system tray.
sheodox@lemmy.worldMto Alexandrite@lemmy.world•[Bug report] feed loads to last viewed postEnglish1·2 years agoThis is intentional, but I’ll probably be changing it.
When you click a post while in a feed it changes the URL so it’s easier for people to share links to posts, as people probably are most used to copying a URL out of the address bar to send to people. It causes a lot of issues though, like the one you mentioned, and the ‘back’ button on your browser basically doesn’t work either. Because of all of that I’m probably going to remove that feature, and make a more prominent “share” button somewhere.
sheodox@lemmy.worldOPto Lemmy Apps@lemmy.world•Alexandrite 0.8.0 - Light mode, link and vote button hue customization, nicer looking posts, post content preview on the List layoutEnglish3·2 years agoOh yeah, I added a few hotkeys too, forgot to mention that! You can find them documented on the hotkey help page.
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.