Fetch local weather from Dark Sky API. https://wthr.ml/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
664 B

  1. # Todo
  2. - add to my site
  3. - deliver text/HTML depending on User-Agent in header
  4. - https://nginx.org/en/docs/http/ngx_http_browser_module.html
  5. - https://www.nginx.com/resources/wiki/modules/user_agent/
  6. - https://www.whatsmyua.info/api/v1/ua
  7. - colors
  8. - ANSI escape codes
  9. - https://github.com/gabx/archlinux/blob/master/etc/scripts/colortest
  10. - fetch on load
  11. - Lua os.execute in Nginx
  12. - fetch JSON in JS
  13. - generate table dynamically
  14. - icons
  15. # Done
  16. - display both locations
  17. - location text
  18. - table orientation
  19. - credit Dark Sky
  20. - "Powered by Dark Sky: https://darksky.net/poweredby/"
  21. - Dark Sky image
  22. - https://darksky.net/dev/docs/terms