The game https://store.steampowered.com/app/1421760/What_Comes_After/ was not easy to play for me. It speaks a lot about suicide and self-harm, but still manages to make things "positive". I put that in quotes because, despite the game having an opinion, it's still up to you to decide how you took the result of the actions in it. It's one of those games that make me very happy people make games to communicate and not to squeeze money out of people, and I hope that more people can make things like this, of all spectrums and kinds.

Don’t let federation make the experience suck

I’m pessimistic about federated architectures for new end-user products, like Mastodon. But, I could be wrong. In fact, I’d love to be wrong on this one. So since Blaine fairly called m…
byBenlog archived copycurrent

Some things in here I'm very eager about, like making the act of subscribing to someone else a lot easier. And then there are others that lead too much into the need of "we have to make it easy for the sake of being easy" and eliminates some of the strong protections that things like federation (or just non-centralization of services) can provide: like anti-abuse targeting, snitch-tagging and the like (all of those are easier with a global namespace but not impossible without, just a bit more difficult). I think, also, the need to have a global 'beacon' leans into individuals wanting to be heard all the time - which is useful for activism (but truly, that itself is possible in a world without a global namespace, we do it by actually carrying the message across - not relying on a one-click solution to do it).

2022-12-01T00:00:00.000Z

sparkles: a micropub client


Update (2022-12-13): Did some cleanup to the code so I'm feeling ok about making this public now.Code is available here: https://github.com/benjifs/sparkles




I've been working on a micropub client on and off for a few months now and since its IndieWeb Gift Calendar season, I figured it was the perfect time to write about it.


tl;dr: sparkles is a micropub client. It supports IndieAuth for login and expects a micropub endpoint to communicate with to publish posts. It supports basic micropub content types and you can also add movies you have watched.


Motivation


I wrote a micropub and media endpoint sometime in 2020 and since then I've been using several micropub clients to post content to my site. There are some extensions I would have liked to add to those but I felt like they were so specific to how I want to publish content to my site that it wouldn't have made sense to add there. I could have also just built the specific additions I wanted but I took this as an opportunity to build the one micropub client I would like to use.


Development


Similar to my micropub endpoint, I wanted to build this so it could easily be deployed to Netlify with a single click and some minor environment variable configurations.


I initially tried to keep things as close to vanilla JS as possible but in the end chose to use Mithril.js as a framework. I already use several of the other popular Javascript frameworks in other projects so I took this as an opportunity to learn something new.


CORS errors started showing up and the quickest way I figured at the time to handle these errors was to use Netlify's functions to proxy requests to the IndieAuth and micropub endpoints. There is probably a better way to handle this but I figured this could be future Benji's problem.


The Actual App


sparkles: main menu


On login there are options to add content based on the basic content types. Clicking on notes for example will open up a basic textarea and an input field for comma separated tags.


sparkles: adding note content


One of the custom content types that I wanted to support on my site is watched movie posts. I currently manually run some code to convert my RSS feed from Letterboxd and it works well enough but ideally this could all be done directly to my site using micropub. For movie search I am using OMDb API which gives me all the basic info I would want to display for a movie.


sparkles: movie search


After a movie is selected, you can select if you have rewatched it and whether or not to rate it.


sparkles: adding The Empire Strikes Back as a watched post


The last bit of features I wanted to add where all dependent on sparkles being a Progressive Web App (PWA). With the website installed on my phone as a PWA I could now share content from other apps to sparkles which will let me create a "reply", "bookmark", "like", or "RSVP" post.


Android share menu


sparkles: handle share target


Lastly, I can also create a quick note or add an image using the shortcuts option.


sparkles: shortcut sample


Issues


PWA support is sort of iffy in my experience. I think Safari on iOS doesn't have full support for shortcuts or share_target which I think makes sense since these are still marked experimental.


On Android, only Chrome or Samsung Browser on Samsung devices seem to have access to a WebAPK minting server which is necessary for the full PWA experience.


While the website can still be added as a shortcut, it will lose those key features if its not installed with a browser that supports PWAs.


Future plans


The code for sparkles is still not open source but once I get stuff cleaned up I plan to make it public now on GitHub.


I don't usually write out reviews for movies so I completely forgot to include that when building the movie editor out. I plan to add an optional textarea with a checkbox to mark whether or not the content itself contains a spoiler.


The other type of content that I wanted to be able to publish from here are recipes. I have the basic idea for how to structure them but I'm still in the early planning stages on how to handle the different parts of a recipe. I also have to add support for this type of post on my micropub endpoint first which is why I'm leaving all of this for later.

byBenji Encalada Mora • posted archived copycurrent

It still blows my mind that some party with less than 1% representation managed to win a Presidential election TWICE in the DR. And that the President was advised by Rudy Giuliani (a living ball of rotting shit). And the party's based on such .... weird European basis ideals.

After working with Clojure for nearly a year and Ruby for longer, I've been eager to get Conjure (a REPL tool for Vim) working with Rust. I see this page https://github.com/Olical/conjure/wiki/Quick-start:-Rust-(evcxr) with some info. Might need to do the tutorial to see if I can get this working well.

byhttps://jacky.wtf • posted archived copycurrent

Ugh just a few moments into this thing and I love it. The family of *school tools are great for more complicated plugins that provide a lot of functionality like this one.