Canarium

A weather app similar to probnot's wpg-weatherchan app.

Stars
5
Committers
1

Bot releases are hidden (Show)

Canarium - Canarium v3.1: Installer, and Fixes! Latest Release

Published by Javier164 over 1 year ago

Some features were reworked or removed due to how problematic they were during development. But there is now a new installer to help you get started! You may have to change the config or RSS feed because it is set by default to Boston, MA, and its respective RSS feed, from WHDH.

Heat index and Wind chill has been added.

Canarium now decodes RSS feeds that have been encoded.
This allows for Canarium to display text and not weird XML encoded characters.

You can now CTRL+C to quit the app. In case the app would lock up, for a weird reason.
You can also press Escape, or Q. I forgot to mention that within v3.0

Reworked:

Heat Index and Dew Point placement, to accommodate for new Conditions subheading.
You no longer need MSYS2/Scoop to run the app. The installer comes with the libraries necessary.

Removed:

Cloud Cover. Didn't really help much, actually.
Moonrise. Was very problematic during development, even when type checking.


Speaking of type checking, Canarium now checks if the sunrise and sunset timestamps are empty, and also checks if the day of the week and moon phase are empty. If any of these are empty, Canarium skips over to the next non-empty field.

Have fun!

Canarium - Canarium v3.0.0: New features and language!

Published by Javier164 over 1 year ago

Canarium v3.0.0 Release Notes

The D version had a memory leak! Oh no.
It had to do with one of the specific libraries, and so with all of the problems I've actually faced (locking up out of nowhere, and on start) I thought I should use a less niche but very similar language to be able to receive more support and to utilize better libraries.

First off, this now uses Go instead of D. Because of this, the minimum system requirements have changed. We'll talk about those in a bit.

Instead of using a generic display library (alongside its respective libraries to be able to get core functions Canarium needs), this now uses SDL2 (SDL2_ttf and SDL2_mixer to be specific) to do all of the hard work. Everything is still functionally the same, with some features removed, reworked and added. Channel listings have been removed, everything has basically been reworked, and custom color codes have finally been added.

Minimum system requirements are now the following:

  • Video card capable of OpenGL acceleration
  • 48 MB of RAM
  • Windows 7, macOS 10.13, or any Linux distro (using Go 1.20).

Older versions of Go have not been tested, so any build not using Go 1.20 may not be subject to any pull requests or issues. Have fun with the app!

Canarium - Canarium v2.0.1: XP Support!

Published by Javier164 almost 2 years ago

Hi everybody! I am back.

One of my main intentions with Canarium was to make it run on older systems. Although, due to constraints with DUB (Windows 7 and higher) I couldn't get this to build on older systems. However, you can now run with older systems provided with the EXE under this release. (Thanks to the D discord for helping me out!)

Clock!

Canarium now has a 12 hour clock right next to the Current Conditions header.
Nothing much to say other than that.

Optimizations and Bug Fixes:

  • Canarium now uses 3x less RAM, due to invoking with RDMD directly.
  • A lot of duplicate variable declarations have been removed.
  • RSS text is now smaller, to allow for articles to display more text.
  • Switch case statement when parsing the RSS feed, still have to work on data.
  • Executable is now a megabyte smaller!

2.1 will fix/add the following...

  • Data parsing sometimes throwing a "JSONValue is not an array" exception.
  • Customizable colors.
  • Fullscreen toggling.
    And other features!

If planning to build...

In the source directory, the command I have used is rdmd --build-only -i source/app.d --arch=x86_omf


Have a good day!


Canarium -

Published by Javier164 almost 2 years ago

It's been a while! I have been working on a D rewrite for a while now due to the fact it's just more efficient than Python, in a lot of ways actually.

Differences between canarium-py and canarium-d

canarium-py (aka pre-2.0)

  • Interpreted, needed Python installed if you weren't on Windows.
  • A bit slower, less control with the libraries used.

canarium-d (2.0 onwards)

  • Simply drag over the EXE file to your current installation, or build with DUB and you should be good to go.
  • RAM usage now ~24 MB compared to the 30 MB Python used.
  • More control with the libraries used, lower level.

The only con that the D remake has is that Mac users will not be able to use Canarium as intended, due to arsd.simpleaudio not being supported for Mac. You may modify the code to completely remove any of the music related stuff and just supply an audio stream from another source.

You will need X11 installed if you're using Linux, but you shouldn't need to install anything for Windows.

New features!

RSS Feeds are now supported, just type a valid (the interpreter is strict) RSS feed down over in the config and enjoy seeing your local news.

Have fun!

Canarium - Canarium v1.1

Published by Javier164 about 2 years ago

After weeks of finally tackling a long known issue, I finally managed to fix it. Music now functions a lot better, and doesn't continue playing when the user is forced to Control + C via the terminal. Speaking of that, you may now use Esc to quit the application. You could also close the window via Windows to close it as well. This is useful especially for platforms like Linux where you're basically locked up in the application. Because of everything being packed in a single file, EXEs are now a lot more tangible. From here on then, Windows and Mac/Linux releases will now be seperated. Windows releases being in EXE form, and Mac/Linux being in Python script form. Windows users will still be able to use the Python script if for some reason the EXE does not work, although strongly recommended for people to use the EXE if you aren't experienced with Terminals.

EDIT: Make sure you have libsdl2-mixer-2.0.0 installed on Linux.
EDIT 2: Windows release is now here, just make sure to drag and drop wherever you have canarium.

Canarium - Canarium v1.0.1.1

Published by Javier164 about 2 years ago

Not much of anything that's feature changing, except you can now choose any color scheme for Canarium! Just replace the forebg and the marqueebg values in data.json

Replace the script files and you should be fine, nothing else to do.

Canarium - Canarium v1.0.1

Published by Javier164 about 2 years ago

Added music! Threading is a bit wonky but you can always kill the process via task manager.
Added back the marquee. You can put whatever text you'd like.
Fixed audio issues and forecast text misplacement on Linux.

Canarium - Canarium 1.0! Kinda...

Published by Javier164 about 2 years ago

This release pretty much targets everything I need. I will say, there are things that I need to polish up but it's just some vexing things that I don't really bother fixing. Have fun!

Package Rankings
Top 9.37% on Proxy.golang.org