17 Commits

Author SHA1 Message Date
cff02a574c add api route for querying summaries 2025-06-20 22:04:30 +01:00
e95d3ae624 Added support for Manila and Hong Kong (#3)
Co-authored-by: MMatthew14 <matthewlorenz@protonmail.com>
Reviewed-on: https://github.com/kennethnym/7am/pull/3
2025-05-14 19:38:48 +01:00
7750c0d75e Add support for Singapore (#2)
Co-authored-by: sevensxyt <sevendotxyt@proton.me>
Reviewed-on: https://github.com/kennethnym/7am/pull/2
2025-05-14 13:16:31 +01:00
28a33f869b use mutex to guard sqlite writes 2025-05-13 00:52:16 +01:00
a2a2d008dd fix sql conflict on summary cache update 2025-05-13 00:51:22 +01:00
0549108114 add support for stockholm and amsterdam 2025-05-13 00:45:26 +01:00
49d725a4df enable write ahead log 2025-05-12 20:09:31 +01:00
373543834c improve prompt 2025-05-12 19:43:24 +01:00
cadeea7b58 fix rows are closed err on summary cache miss 2025-05-12 19:14:42 +01:00
a6fc47fb6f fix data race 2025-05-12 19:07:19 +01:00
9230638b12 Merge remote-tracking branch 'origin/master' 2025-05-12 18:58:39 +01:00
0a4ec7ddb1 cache weather summaries to sqlite 2025-05-12 18:58:31 +01:00
5987513c7b Merge pull request 'Add Paris to list of supported cities' (#1) into master
Reviewed-on: https://github.com/kennethnym/7am/pull/1
2025-05-12 18:09:32 +01:00
axeelz
00eafedca0 chore: scrap Paris placeholder data 2025-05-12 18:38:11 +02:00
axeelz
b6419b8bdc style: reorder Paris in HTML list 2025-05-12 18:37:26 +02:00
75dd44268a only pass time series data to gemini 2025-05-12 12:09:58 +01:00
axeelz
912043a0d2 feat: add support for Paris, France 2025-05-12 11:44:46 +02:00
3 changed files with 232 additions and 94 deletions

308
main.go

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -45,11 +45,17 @@
<li><a href="/sj">San Jose</a></li>
<li><a href="/la">Los Angeles</a></li>
<li><a href="/nyc">New York City</a></li>
<li><a href="/paris">Paris</a></li>
<li><a href="/berlin">Berlin</a></li>
<li><a href="/zurich">Zurich</a></li>
<li><a href="/stockholm">Stockholm</a></li>
<li><a href="/amsterdam">Amsterdam</a></li>
<li><a href="/warsaw">Warsaw</a></li>
<li><a href="/dubai">Dubai</a></li>
<li><a href="/tokyo">Tokyo</a></li>
<li><a href="/singapore">Singapore</a></li>
<li><a href="/manila">Manila</a></li>
<li><a href="/hk">Hong Kong</a></li>
</ul>
</main>