LiveTagus is an independent, open-source web interface designed to help commuters in the Lisbon South Bay area track Fertagus trains in real-time.
Note: LiveTagus is an independent project and is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Fertagus nor Infraestruturas de Portugal (IP). The official Fertagus website can be found at fertagus.pt. The official IP website can be found at infraestruturasdeportugal.pt.
Visit the app: https://livetagus.pt
Although the API code is open-source and available for review, we kindly ask that you do not use our production endpoint for your own projects or applications.
Maintaining the servers involves costs that are covered by us. High external traffic to our API increases these costs and risks service instability for users of the official application. If you need API functionality for other purposes, please self-host it using the code provided in the /API folder.
The repository is organized as follows:
- /WebApp: Contains the Frontend source code (main focus).
- HTML, Javascript, and CSS.
- Styling with Tailwind CSS.
- PWA Configuration.
- /API: Backend source code (provided for reference and self-hosting purposes only).
- Node.js Server.
- Static JSON files.
To test or develop the project on your machine:
- Node.js installed.
If you need to modify data or server logic:
cd API
npm install
node index.js
# The server should startThe WebApp uses Tailwind CSS. To compile CSS and see changes:
cd WebApp
npm install
# To start the Tailwind watch process (automatic compilation):
npm run watchThen, simply open the index.html or app.html file in your browser.
- Schedules: Quick check for upcoming trains.
- Service Status: Information regarding delays or cancellations.
- PWA: Can be installed on mobile devices as a native application.
- Design: Mobile-optimized interface.
Contributions are welcome. If you found a bug or have a suggestion:
- Fork the project.
- Create a Branch for your feature (
git checkout -b feature/NovaFuncionalidade). - Commit your changes (
git commit -m 'Adiciona NovaFuncionalidade'). - Push to the Branch (
git push origin feature/NovaFuncionalidade). - Open a Pull Request.
Please review our Code of Conduct before contributing.
This project is licensed under the MIT License. See the LICENSE file for details.
LiveTagus is an independent project and is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Fertagus. The official Fertagus website can be found at fertagus.pt.
Developed with ❤️ in Margem Sul.