WebClock/README.md
20xd6 06289a5137 Update README.md for new repository.
The web front end git repository has been changed so I updated the URL for the repository to reflect that.
2020-07-27 17:20:23 -04:00

1.9 KiB

WebClock

It's a clock. It runs in your browser.

Description

A simple clock for your web based timekeeping needs. Includes the abality to set the timezone you want if the one your browser chooes isn't what you need. The time will appear not only on the main page but also in the page's title so you can leave the page and still keep an eye on the time.

Requierments

php - I'm running it on a minimum of 5.6 so that or anything newer should work
a webserver - I use apache. It's nice.
A javascript interpriter - Basicaly a modernish webbrowser.

Install

  1. git clone into a directory accessable by your webserver. git clone https://efrick.ddns.net/git/20xd6/WebClock.git
  2. Optional steps
    1. Edit clock.php to point to your root CSS files. It points to a css file called styles.css in the root directory. If this is not your root css file please edit it.
    2. Add a symlink from clock.php to a file called index.php. ln -s clock.php index.php Most webservers will look for an index file (index.html or index.php for example) in any folder you open. Adding this symlink will inable you to link to the direcoty rather than clock.php without messing with the configuration of the webserver.

Note:

There is a small privacy concern. Because this clock is using PHP to creat the inishal time entry and because this is using the date() function in PHP to do this it will reveal what timezone the server running it is set to.

ToDo

  • Add a differentiator from the selected timezone and the original timezone.
    • Display original timezone's time.
    • Display the offset of the two selected timezones.
  • Add a timer.
  • Multiple clocks for tracking regions. this is sort of implemented with the display original timezone feature but not compleatly and not how I want it.

Licening

GPLv2

A copy of the GPLv2 can be fond here.