Live Fuel Availability & Queues in Sri Lanka
FullTank is a crowdsourced, real-time tracking application built to help Sri Lankans find petrol and diesel availability, along with live queue lengths across the Western Province.
- Real-Time Availability: Crowdsourced updates on Petrol (92/95) and Diesel (Auto/Super).
- Queue Tracking: Live estimates of vehicle queue lengths at CEYPETCO, LIOC, and Sinopec stations.
- Interactive Map: Visual map interface to easily locate the nearest stations with stock.
- PWA Ready: Installable as a Progressive Web App for quick mobile access.
- Framework: Next.js (App Router)
- Styling: Tailwind CSS
- Database & Auth: Supabase
- Maps: React Leaflet
- Deployment & Analytics: Vercel
Make sure you have Node.js and npm installed on your machine.
-
Clone the repository:
git clone [https://github.com/OnithaPerera/fulltank.git](https://github.com/OnithaPerera/fulltank.git) cd fulltank -
Install the dependencies:
npm install
-
Set up your environment variables: Create a .env.local file in the root directory and add your Supabase keys:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser to see the result.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
See LICENSE for more information.