diff options
| author | Benjamin Sanders <hello@bensanders.net> | 2026-09-18 11:26:08 -0400 |
|---|---|---|
| committer | Benjamin Sanders <hello@bensanders.net> | 2026-09-18 11:26:08 -0400 |
| commit | e4ea426890f74701098d74cd1163b5479bdedf4f (patch) | |
| tree | e5cba4f77247d1834fb2649336e5e9ef3f5f7a09 | |
| parent | 31fefee2192ed7cda20326ce3d7797075637cd25 (diff) | |
added border radius to article images and class to header image
| -rw-r--r-- | _posts/2026-09-18-building-bsimg-dot-net.md | 12 | ||||
| -rw-r--r-- | assets/css/main.css | 4 |
2 files changed, 10 insertions, 6 deletions
diff --git a/_posts/2026-09-18-building-bsimg-dot-net.md b/_posts/2026-09-18-building-bsimg-dot-net.md index 71b6c38..0ea008d 100644 --- a/_posts/2026-09-18-building-bsimg-dot-net.md +++ b/_posts/2026-09-18-building-bsimg-dot-net.md @@ -7,12 +7,12 @@ author: Benjamin Sanders catagories: project, image host, portfolio #subtitle: "Blueorgia is real, y'all!" --- - +{: .header-img} <small>Image Credit: Pexels, panumas nikhomkhai</small> I need some projects to work on and write about here. So, this past week I got the idea to stand up a Debian 13 VM and try creating my own CDN of sorts to host images and other assets for this website. -# Starting Point +## Starting Point This idea was inspired by X/Twitter's `pbs.twing.com`, a dedicated image-serving subdomain separate from the main site, with on-the-fly size/format selection via query parameters (`?format=jpg&name=large`). @@ -20,14 +20,14 @@ While I don't currently have on-the-fly size/format selection yet. I do currentl I did rely heavily on Claude to "vibe code" this but my reason for wanting to write this article is to go over the project so I can cement what I did in my memory. -# Standing Up The Server +## Standing Up The Server  <small>Figure 1</small> I configured a Debian 13 server on a dedicated server I use for most services I host and a spare IP address. The plan being to have the domain I recently bought for this project `bsimg.net` be the apex domain since it was available, surprisingly. Then I'd configure `pbs.bsimg.net` as a used in the images and `pbs.atl.bsimg.net` as a region-specific name for the box itself. I'm hoping to to later add more boxes in other regions so configuring this now future proofs for sure. -# The Upload Workflow +## The Upload Workflow The workflow seems like it could be fairly easy when I'm working on an article or just this site in general. @@ -37,11 +37,11 @@ If I need to upload an image I just use the following command in my terminal on That image file was the original name of Figure 1 and it hashed the name on upload. I'll probably put that script up on my [cgit](https://git.bensanders.net) instance later. -# Next Steps +## Next Steps Now that I have one node configured for this service. My plans are to copy the config files and try putting them on another node in another region. -# Final Thoughts +## Final Thoughts That'll will be it for this post but I do plan to write on this site more often as I work on projects. Hopefully somebody else finds my musings useful. diff --git a/assets/css/main.css b/assets/css/main.css index 04e36e2..f294982 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -156,6 +156,10 @@ nav { font-size: 1.1rem; } +.article-grid img { + border-radius: 1em; +} + #post { width: 100%; max-width: 1080px; |
