I have been on a big terminal kick of late and discovered wttr.in and I wondered if I could bring that ascii joy to peoples docs.
What it does
This is a coda pack that will get a town that a user types in and returns an ascii image weather report.
How we built it
This was built with Typescript and the Coda sdk.
Challenges we ran into
I initially wanted to return the raw ascii but keeping the formatting was a difficult when the ascii was not in a terminal. I had to return the ascii report as a png to show it correctly.
Accomplishments that we're proud of
- This is my first published Coda pack and is not the last one for this hackathon.
- Published my first Doc as well.
What we learned
I learned a couple of things while developing this app:
- Returning images as a response for Coda formulas
- How to deploy a Coda pack