• Made good progress on the embed based64 image -> file save in tanzawa -> content rewrite. Now working on my handling of json micropub requests.Β 

    This handler is a bit large. I can't wait for it to be working so I can refactor it down to something a bit more manageable.
  • Checkin to ChΓ’teraisΓ© (γ‚·γƒ£γƒˆγƒ¬γƒΌγ‚Ό ζˆΈε‘šθΈŠε ΄εΊ—)

    in Yokohama, Kanagawa, Japan

    Birthday cake. πŸŽ‚

  • Those that are familiar with micropub know that there's two ways to use the endpoint. One is as a regular json api and the other is a plain-old form submit endpoint. Almost all integrations these days are done with json apis, so the idea of support a form api seems antiquated at first.

    But once you realize that any site can publish to your site, including file attachments(!), with a simple form on their website, it doesn't seem so antiquated after-all. It feels quite liberating. In fact, it may be my favorite part of micropub.

    Currently regular json requests can create a post. And form requests with file attachments can also create a post. Tanzawa automatically inserts the photo into the post and does its exif stripping, lazy loading, and other image loading optimizations.

    Testing with the Quill article interface - image attachments are sent in base64 encoded strings in the img tag. Extracting those images, saving them to disk, and rewriting the html will take me another day to complete.

    ---

    Feedly is still mangling my posts. Besides the figure tag messing things up for feedly, another theory I have is that it doesn't like text content not wrapped in a <p> tag. Trix (the editor Tanzawa uses) wraps all content in a <div> tag and text is raw inside of it. I pushed an experiment to rewrite that <div> to a <p> tag in the RSS feed. Hopefully this fixes it.

    Mangled posts in Feedly
  • πŸ”— A Teenager Has Remade Myspace and Everyone Is Loving It

    Coded entirely by 18-year-old An, 'SpaceHey' harnesses nostalgia and a distaste for modern social media to bring the Old Internet back from the dead.
    Happy to see SpaceHey getting more users. I don't use it, but the world needs more social places online where you aren't you're free to customize it to your heart's content.
    1. Tagged with
    2. nostalgia
    3. computing
    4. social media
  • I've noticed some errors when Feedly parses my Tanzawa RSS feed. Namely that it doesn't show any content when I include an image. I have no idea why it's stripping all text from the posts.

    Other fixes to the RSS feed include removing a / from the guid and setting the permalink to false, since the guid was not a url. As the guid change, most reads will show old posts as new - sorry about that.

    This mostly a test post to see if adding titles for my statuses (the first 128 characters of plain text) will make Feedly parse properly when I include an image.

    IfΒ  this doesn't work, I have a theory that Feedly may not like <figure> tags, so I may try to rewrite my html content to be simpler for rss feeds.

    A photo of my new titles in NetNewsWire
  • Micropub is going to be a larger task than anticipated. As such I think I'll roll it out incrementally, expanding the capabilities of the micropub endpoint as Tanzawa can support them natively.

    Today I managed to get my first post from Quill to Tanzawa!

    A first post to Tanzawa originating outside of Tanzawa!


  • Added support for verifying and revoking tokens. One thing I like about API development vs regular page/form development is the inputs and outputs are clearly defined. You don't need to worry about things like layout or looks. It's either valid or it's not.
  • With the basic indie auth login flow working, the next couple of days will be dedicated of fully fleshing out apis to support revoking tokens (e.g. on logout ) and checking token validity.Β  I added basic tests for the authentication -> access token call today, so I can be confident that while I make these changes, I won't break anything.

    I also added Bearer token based authentication today, which I've plugged into my micropub endpoint stub. My goal is to have the full indieauth/micropub api ready for release by Friday, at least on a basic level.

    Importing data from OwnYourSwarm like I want will require a few more models and planning because posts will need to support geo-coordinates and so forth.
  • Woohoo! First successful IndieAuth login with Tanzawa.Β  πŸŽ‰πŸ™ŒπŸ»

    Tanzawa logged in to OwnYourSwarm
  • The Week #31


    • As I've been public blogging about πŸ”Tanzawa I've had more people emailing me, responding to my posts, or DMing me directly about it than any past project. One of the things I still have difficulty talking about succinctly is the IndieWeb, Tanzawa, and how it all fits together. I think I may be getting better at it though.

    This week I was explaining the building blocks of the IndieWeb to my internet buddy Frey. My explanation seemed to click as he's added rss to his blog and joined micro.blog!

  • Each month at BeProud there's a monthly meet-up where employees give presentations and afterwards there's sushi, beer, and chitchatting. It's great fun. When you first join the company, it's tradition for you give a 10-minute self-introduction presentation. The meetup still happens with covid, but remotely over zoom.

    As we've grown we realized that newer employees don't have an opportunity to learn about the longer-tenured employees without asking them directly, which is difficult. This week it was my turn to re-introduce myself to the company. This time I was able to speak for 10 minutes in front of half the company without much effort or really thinking too much. Much different than my first time almost 4 years ago.


  • I discovered you can use VideoLan to play videos off YouTube. You could probably use this to download videos, but I'm not doing that. I'm just enjoying being able to have a native app play music without all of the bloat and trackers running in the background.

  • Kai wrote a post with some tips and tricks in the terminal (Japanese). Improving my fluency in the shell is one of my goals for this year. This week I'm going to try and use some of these.

  • Leo's started to recognize when he's wet his diaper and tells us about it. I think this means the days of changing diapers will be coming to an end soon. πŸ™ŒπŸ»

Previous 161 of 362 Next