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.

24 lines
659 B

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