Skip to content

a-chen/time-timer-webapp

 
 

Repository files navigation

time-timer starline

I've always been baffled by why timers rarely have the current time on them, so I added one

Enjoy

build and run

docker compose instructions

# build and start the service
docker compose up --build
# open the app in your browser
xdg-open "http://localhost:8080"

# stop the service
docker compose down

development setup

git hooks

After cloning the repository, install the git hooks:

./hooks/setup.sh

This installs:

  • pre-commit: Auto-increments version number in package.json
  • pre-push: Runs Playwright tests before pushing (prevents pushing broken code)

running tests

npm test

version management

  1. Edit package.json and update the version field:
    {
      "version": "x.x.x"
    }
  2. The version file (app/version.js) is auto-generated and should not be edited manually.
  3. The version is automatically incremented on each commit via the pre-commit hook.

About

A count-down and count-up timer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.3%
  • CSS 15.4%
  • HTML 5.3%
  • Shell 4.2%
  • Dockerfile 1.8%