A simple web service for tracking Taiwan’s public bike rental system, YouBike—without suffering through their awful mobile app.
This site helps users monitor station availability more efficiently, especially during peak hours (and yes, maybe to rant when there are zero bikes left).
薛叡宇
Check their projects out: BallsDex Config Filler, Centring Disaster, EXIF Extractor
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
The API part is now completed, I probably will add more route to it but it does the job serving everything from DB to users.
I wrote some script in apps/grabber/scripts to help me to add station more quickly, thus some more stations are now appearing on the website 👀
This is a bit awkward. I initially wants to add a Android app where you can basically track the update on your phone more easily.
But I soon realized... how difficult was writing one mobile app, and my friend just says this website is simple enough that actually is quite functional without an app.
Probably the last update, I added a chart showing whether the station is going to have no bikes or slots left. The data is based on 7 days of data the backend grabber logged.
Mostly backend data grabber improvements:
Optimized SEO, now Cha Bike appears as second search result when searching this site in Chinese!
I added the chart to station page! The chart can be zoomed, panned by mouse or touching it.
Also migrated to Vercel
This should be the last dev log for this project. Fixed some UI bugs and improved SEO for search engines and social link previews.
Added i18n, currently featuring 2 languages (Chinese and English) and can be switched by the button at top right.
Migrated everything to Cloudflare Worker, fixed some optimization so it will use less CPU time on Cloudflare.
95% completed the website & refine backend data grabber 🎉
The website now has a more detailed 48 hours history per station, and smooth animation between pages thanks to Astro ClientRouter & ViewTransition
Made hero's text dynamically change based on each station's status. Added progress bar to station's card
Migrated data grabber from local to Cloudflare Workers using cron trigger. The data grabber is now living on cloud and using green energy to operate ☁️
Added frontend part, it will have the same design as my personal website but probably only in Chinese :L
Quick update what's done before this devlog:
- Completed backend data grabber, now it's able to see if the bike is available or not, the parking space is available or not.
- The data is now stored on Supabase database