Eoin O'Brien

HomePosts

Another Luas App

The best Luas app out there. Includes, details like last trams agus tá sé ar fáil i nGaeilge.

SoftwareView projectView code

TL;DR

I created a Luas App that does all the things I wanted it to do. You can find it on https://anotherluasapp.com/


I started writing this a while ago, but I am only getting around to publishing it now. I use Transit App for my transit forecasting needs.

In March 2020, at the start of Lockdown 1.0 I wanted to take a look at React. So in the effort to find something interesting to do I dipped into my never ending well of Transport in Dublin and decided to create a app that would provide all the features I felt was missing from other applications.

The before times

Previously, my default Luas app was Luas at a Glance by Aaron Hastings. It's a fast, simple application that I learned when writing this post is open source.

The main issue I missed from Luas at a Glance was the lack of operating hours. When I was out and planning to get the last Luas home I would use the Luas website to remind myself what time I would need to leave at.

What I wanted

So that was the first thing I wanted, operating hours.

It's got some nice features that I'm proud of:
🕦 First and last tram information
⚡ Super speedy
⭐ Favourite stations
🔄️ Automatic forecast refresh
🚲 Station facilities
⛔ No ads
🇮🇪 Ar fáil i nGaeilge

Introducing Another Luas App.

How it works

The app is a React app (available on GitHub) hosted on Azure, and calls an Azure Function (also available on GitHub) to get the upcoming forecast. This Azure function calls the publicly available Luas forecast API, translates that response from XML to JSON, and enriches the data with station facilities and operation hours.

Give it a go and let me know what you think.

ContactFeeds