Flag at half mast service

in #utopian-io7 years ago

About a year ago, when I was first getting into Node.js, I wrote this quick web app called "flag-at-half-mast". It's a pretty straightforward web app - it tells you whether or not the US flag is supposed to be at half staff/half mast, and what reason.

For this project, I used a small RSS parser module that takes the latest entries into the White House Presidential Proclamation Log's RSS feed (yes, it turns out the White House still uses RSS. Who knew?) and checks to see whether there is any indication that the White House, Congress, or someone else ordered flags to be flown at half staff.

As I was first getting into Node when I wrote this, the code is pretty inefficient. It polls the RSS feed every time it's called up, and because it works on just searching the RSS for relevant keywords, it can return false positives or miss some proclamations entirely. If you want to take a look at it, you can check out the source code at https://github.com/Nomikxyz/flag-at-half-mast. The service itself is available at https://flag.nomik.xyz.

I'm currently working on a more efficient version of this app that has email/SMS notifications. You can help out by contributing to the project, just check out the issues and pull requests.

Thanks for reading!



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for your contribution, yet it cannot be approved at the moment.
Posts under the visibility category are meant to showcase visibility effort you have done before to bring more users to your project and that were successful.
If you wish to highlight development effort you have done, please use the development category instead, but also include further details about the project along with your commits/pull requests.
Please edit your post accordingly and notify us once ready for review.

You can contact us on Discord.
[utopian-moderator]