pocketwatch
Self-hosted minimal time tracking.
File Explorer
- desktop-edit.png
- desktop-export.png
- desktop-idle.png
- desktop-overview.png
- desktop-period.png
- desktop-search.png
- desktop-settings.png
- index.html
- mobile-drawer.png
- mobile-edit.png
- mobile-export.png
- mobile-filter.png
- mobile-history.png
- mobile-settings.png
- mobile-track.png
- pocketwatch.xml
- read.php
- write.php
- instrument-sans-latin-ext.woff2
- instrument-sans-latin.woff2
- space-mono-400-latin-ext.woff2
- space-mono-400-latin.woff2
- space-mono-700-latin-ext.woff2
- space-mono-700-latin.woff2
- de.json
- en.json
- icon-512.png
- manifest.json
- pocketwatch.svg
- demo-data.mjs
- standalone.mjs
- ClientInput.tsx
- ConfirmDialog.tsx
- EditModal.tsx
- ExportModal.tsx
- Header.tsx
- NavDrawer.tsx
- PeriodFilter.tsx
- PickerBox.tsx
- PickerField.tsx
- Segmented.tsx
- SettingRow.tsx
- SettingsFields.tsx
- SettingsModal.tsx
- TimeClock.tsx
- TimeTable.tsx
- TimeTracker.tsx
- AppContext.tsx
- persist.ts
- useEscape.ts
- useServerArray.ts
- useServerObject.ts
- csvService.ts
- pdfService.ts
- App.tsx
- entryTimes.test.ts
- entryTimes.ts
- index.css
- types.ts
- ui.ts
- .gitignore
- index.html
- index.tsx
- package-lock.json
- package.json
- postcss.config.js
- tsconfig.json
- vite.config.ts
- .dockerignore
- .gitignore
- _docker-build.ps1
- _docker-cleanup.ps1
- _docker-logs.ps1
- _docker-restart.ps1
- _docker-run.ps1
- _docker-stop.ps1
- ca_profile.xml
- docker-compose.yaml
- Dockerfile
- LICENSE
- nginx.conf
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
docker build
View Details ▼
docker build
Build an image from a Dockerfile.
docker build .
Build a Docker image using the Dockerfile in the current directory:
docker build {{github.com/creack/docker-firefox}}
Build a Docker image from a Dockerfile at a specified URL:
docker build {{[-t|--tag]}} {{name:tag}} .
Build a Docker image and tag it:
docker compose up
View Details ▼
docker compose up
Start and run Docker services defined in a Compose file.
docker compose up
Start all services defined in the docker-compose file:
docker compose up {{[-d|--detach]}}
Start services in the background (detached mode):
docker compose up --build
Start services and rebuild images before starting:
docker run
View Details ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
git pull
View Details ▼
git pull
Fetch branch from a remote repository and merge it to local repository.
git pull
Download changes from default remote repository and merge it:
git pull {{[-r|--rebase]}}
Download changes from default remote repository and use fast-forward:
git pull {{remote_name}}
Download changes from a specific remote repository:
npm ci
View Details ▼
npm ci
Clean install of `npm` project dependencies for automated environments.
Installs packages based on `package-lock.json` or `npm-shrinkwrap.json`.
npm ci
Install project dependencies from `package-lock.json` or `npm-shrinkwrap.json`:
npm ci --omit {{dev|optional|peer}}
Install project dependencies but skip the specified dependency type:
npm ci --ignore-scripts
Install project dependencies without running any pre-/post-scripts defined in `package.json`:
npm run
View Details ▼
npm run
Run a script.
npm run
List available scripts:
npm run {{script_name}}
Run a script:
npm run {{script_name}} -- {{argument}} {{--option}}
Pass arguments to a script:
