👨‍💻 Wesley Moore

7bit Projects: Dew Point Forecast, MacBinary, RSS Please, Titlecase

Today I compiled my titlecase Rust crate to Web Assembly and wrapped a web-page around it so that it can be used online. It’s published on my “projects domain”, 7bit.org. After I published it I realised I hadn’t written about the other projects that are on 7bit.org. They are Dew Point Forecast, MacBinary, RSS Please, and Titlecase.

A few years ago I decided that it was a bad idea to speculatively register domains for projects because:

  1. I don’t finish all (*cough* most) projects
  2. They get expensive

In an attempt to curb spending on domain names I searched for a short, nondescript domain to use as a dumping ground for projects that were complete, but not significant enough to warrant their own domain. Thus 7bit.org was born.

So far I’ve published four projects to it, all of which are open-source.

Titlecase

Titlecase is one of the earliest Rust crates I wrote. The first commit was in 2017. It converts text into title case. Specifically it uses a style described by John Gruber for post titles on his website Daring Fireball.

Instead of simply capitalizing each word titlecase does the following (amongst other things):

I have compiled it to WebAssembly so that it can be used online.

Screenshot of the Titlecase web page showing the result of converting the text ‘an iPhone review: "our take in 10 minutes"’ to title case with the tool. The resulting text is ‘An iPhone Review: "Our Take in 10 Minutes"’.
Screenshot of the Titlecase web page

RSS Please

RSS Please is a tool to generate RSS feeds from web pages. It uses CSS selectors to extract parts of the page to generate the feed from. It’s implemented as a command line tool in Rust.

Screenshot of the RSS Please website. It has a teal backgound and features a screenshot of the tool running in a terminal. There is an orange RSS logo in the top left and download button in the bottom left.
Screenshot of the RSS Please website

Dew Point Forecast

Dew Point Forecast provides weather forecasts that include the dew point. The dew point relates to how humid it feels. It’s a better measure than relative humidity as the value does not vary with the air temperature the way the relative humidity percentage does.

I built this one after moving to Queensland in 2021 and it was the first project published to 7bit.org. It’s implemented in Rust using the Rocket web framework.

Screenshot of the dew point forecast for Brisbane, Australia. There are boxes for current conditions, Sat 4 May, Sun 5 May, and Mon 6 May. Each box contains values for temperature, dew point, sunrise, sunset, UV index, and relative humidity.
Dewpoint forecast for Brisbane

MacBinary

MacBinary allows inspection and downloading of individual components in MacBinary encoded files that were used by the classic Mac OS. It’s available as a Rust crate for use in third-party projects. I have compiled it to WebAssembly for use on the web page. I wrote more about this project in this post.

Screenshot of the MacBinary webpage. It is showing the parsed information from a file called 'bbedit_lite_612.smi_.bin'. Several resources are lists such as 'BNDL', and 'CODE'.
Screenshot of the MacBinary web page

Comments

Stay in touch!

Follow me on the ⁂ Fediverse, subscribe to the feed, or send me an email.