ios-hackatime

ios-hackatime Used AI

5 devlogs
15h 29m
Created by divpreet

an ios client for the hackatime dashboard!

Timeline

finally moved on from the basic stat and started working on sm else, getting the charts to work wasnt really hard, charts on swift ui are pretty easy to work with, and the default design was already very close to the hackatime dash, also the editor one was a pain in the ass, cuz i had to get them from heartbeats, and they’re limited, so it shows recent editors used, i also started hitting rate limits, so i added caching (which ai helped in) now, after 5 minutes it refreshes everything! also removed tue refresh button. off topic, but i jb’ed my ipad and made it look like ios 26

done with the base of the app! changed the text at the top to seperate words colored differently and, also added more of a pop by changing the border color of the cards, i want to add stuff charts next. also i was going through the endpoints and the trust factor one was seemingly really cool, even though i dont think there is any mention of it in the main dash! i might be ready to ship!

too tired, first, i started the day by replicating the hackatime dash as much as i could, added the heading, plus the today time text, then i tried getting the stats endpoint to work, but i kept on hitting unauthorized errors, then, i decided to ask the user for their slack username, and then used /api/v1/user/stats, where user is the username and then get the stats that way, also i cleaned up heartbeat code, and tried replicating the grid layout! also, i couldnt get top project since the stats dont output that.

best day so far. i love making UI’s in swift ui, i added phantom sans and the hc colors to xcode’s pallete, wi
hich i’ve worked with for the first time! will focus on keeping my 2h 30m goal daily + making the stats ui + different views.

deleted both devlogs, cuz i might or might not have leaked my api key,

got a wip dash! added a keychain func, models (which i need to update), api, and added profile view, still need to work the UI out and update content view to be as the api key page. also tried to add stats, which is documented, but i seemed to get unauthorized error, tried to get it working and spammed chatgpt, i still havent worked it out, but i decided to get today’s top languages! need to add more stuff like the real dash, project filtering, total stats, etc.

the devlog before had me setup the basic xcode project with it just sending a req to the api and getting raw data

Update attachment