As Glowbug continues to be my pet project, last night I coded in functionality to enable easy sharing from my phone. I use an Android device, so the workflow (for now) makes use of Tasker and AutoShare (a plugin for it) to call a custom endpoint on the webserver. It is still not a 100% process, as it turns out Android sharing is a pretty messy thing and is not standardized as nice as I would like. But I've got a working structure for now.
At some point I'll probably code a simple Android app that acts as a sharing bridge, solely existing to take the text and dump it into a webcall to the server. But for now, the Tasker + AutoShare functionality gets the job done.
Glowbug Development & Commit Updates
The recent commits to Glowbug's Github:
- Speed up frequency of server pings for new posts - This was a small admin side fix which increased the frequency of server pings checking for new posts, from 5 seconds to 3 seconds.
- Image manager Page introduced - As discussed earlier tonight, another admin side implementation.
- Moving to Google Analytics - I had previously tried to use a self-hosted site analytics tool but found it lacking in my current structure. So I moved to Google Analytics as a temporary tool. At some point I'll code my own analytics tool as well.
- Fixed bug which would tweet when saving a draft - I accidentally discovered a bug that a tweet went out when saving a draft. This commit fixed it.
By far the biggest of these was the image manager implementation. I don't currently plan for any major coding, we'll see what comes up.
Last night's coding was to give Glowbug some additional functionality around images:
First, I coded the upload to shrink any image upload to fit within a 1024x1024 square. Secondly I coded an image manager page that lets me see all the uploaded images, and gives me the easy ability to delete images as well as rename them. Renaming them changes the file name and then looks for posts which referred to that image name and changes it to point to the new name.
Just some more admin functionality. I still want to add ability to rotate images, since I want to do more uploading pictures from my phone and I suspect that will be an issue.
What started as a small quicklinks project, then was renamed to 'Blips' as I seek something to replace Twitter as an easy way to drop small thoughts, has been renamed 'Glowbug.'
Years ago I had plans to make my own complete site CMS, and that was called 'Glowbug' at the time. It quickly became evident that Wordpress and other offerings were far more robust and beyond what I could do. But here we are, coming full circle, as I build my own little tool out.
