Yesterday and today I worked a bit on the backend of my website: Eagle. I’m quite happy with the amount of bugs I managed to fix and some of the new features:

  • Edit data files (or any other files)
  • Integration with Miniflux to update the blogroll
  • Usage of afero for base path file systems, i.e., avoid being able to edit files outside of the source’s scope
  • Improved interface
  • Search posts on the backend
  • Added favicon
  • Many fixes

I’ve also been investigating the possibility to use Tailscale to simply block the access from the “outside world” and make it more secure? I’ve tried using the still in the works package tsnet - like @jlelse did - and it was quite nice.

Unfortunately, I’m not sure yet how I can simply block access to the dashboard interface yet. At least in the case that the interface is on the same domain as the website. Right now, they are separated so it’d be easy. However, I’m thinking of putting it all under the same domain again.

I’m also trying to understand how I can perhaps “inject” an admin bar - with buttons to perform some actions - while navigating the website in case I’m logged in. Perhaps a bit of JavaScript magic will do it. I personally don’t want to get rid of Hugo (yet) and this solution or working around Hugo has been working very well! Hugo is the “database” and generator.

Also considering to add a few other features, such as post location, uploads with compression and correct resizings to BunnyCDN, renaming of posts, etc.

Interactions (1)

Or…


Henrique Dias Henrique Dias said: In my last post, I mentioned that I was “investigating the possibility to use Tailscale to simply block the access from the “outside world” and make it more secure”. Well, it is now implemented and it works. Basically, my blog system can listen on two different ports: the regular one where you’re na…27 Oct 2021 06:31