• The Week #127

    • I migrated my blog from a digital ocean droplet to fly.io. No longer having a background thread running about remembering to do server maintenance and so forth is great. My site is also loading a lot quicker than it was before – how much of that is fly.io vs the server is now in Narita, Japan instead of Germany...I'm not sure. Either way, happy days.
    • And for some more inspiration from Simon Willison I started experimenting with using Github Issues as lab notebook. The base idea is to collect all ideas / findings as I work on a particular issue on the issue as comments and so forth.

      My tweak is, I want to use Brid.gy to post the issue and backfeed my own (or others) comments on them to my own website. Other people's comments should work already, but not your own comments (yet). So I'll either need to write the integration or create an alter ego for posting my comments. Dr. Jekyll / Mr. Hyde could be fun.

      All of these posts will be in the new Tanzawa stream.
    • Leo rode his bike to a friend's house, but the friend wasn't outside, so we continued on to the park for a bit. On the ride back we heard the infamous calling of the yakimo truck. I think of it like hearing the sound of the ice cream man driving around the neighborhood when you're a kid, but for fresh roasted sweet potatoes. He's literally roasting them while he drives around in his truck. A bit of autumn / winter goodness.

      Leo's recently taken to eating sweet potatoes. As we passed him he said they smelled good, so we turned around and bought a couple from him. And they were really good. The insides were starting to caramelize... I'm looking forward to hearing that siren song again.
  • Response to Allow editing of bookmark/reply titles

    Tanzawa is a blogging system designed for the IndieWeb that focuses on sustainability. - Issues Β· jamesvandyne/tanzawa
    Problem
    It's currently not possible to edit the title of bookmarks / replies without using the Django admin. This is an issue because sometimes the title contains meta information that you wouldn't want to appear in a comment / blog post.

    An example title when posting a new issue from Tanzawa


    This is especially true as I try to experiment with creating Tanzawa issues on my blog and backfeeding all comments, with the goal of effectively keeping the "lab notebook" of the GitHub issues to also be on my website.

    Success
    There is an edit button that, when clicked, allows you to edit the the title.

    Implementation Details
    This should be implemented using htmx and act as the first page to allow us to remove turbo from Tanzawa.
  • Checkin to Single O Hamacho

    in Chuo, Tokyo, Japan
    Woke up late, but still getting my coffee. First cup of the day is always the best.
  • Running Tanzawa with Fly.io

    Taking a page out of Simon Willison's Coping strategies for the serial project hoarder presentation, I'm going to write a blog post about what I've done on my projects as part of the "unit of work".

    One of the largest hurdles to running Tanzawa is one that plagues any Django app: getting it setup properly on a server. This usually involves connecting to a server, setting up a gunicorn or uWSGI server to run the app, editing nginx configurations, and fiddling with systemd, at a minimum.

    Each of these are a large barrier to entry. All of them combined means only the most dedicated users would attempt to use it. And the reality is nobody will use it.

    Making Tanzawa easier to install and run has long been a goal of mine. For a while my approach was to basically automate my own setup on Digital Ocean. I attempted this with two puppet scripts: one, created an Ubuntu server that automatically applied security patches and installed Docker, and the second would build a Tanzawa image to run on the server. Using puppet would also allow flexibility for people to host wherever they wanted.

    Ultimately this approach was flawed because you'd still end up needing to maintain a server, even if it updates itself.

    Getting Tanzawa to run on a fully managed platform like Fly.io would lower the barrier to entry quite a bit as it would remove the need to maintain a server and fiddle with configuration files. After migrating my blog from a Digital Ocean to Fly.io, I documented how others can do the same.

    Hosting with Fly.io is now the recommended way to use Tanzawa.
  • I’ve migrated my site to fly.io. Let me know if anything is amiss.
Previous 166 of 710 Next