Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filiptronicek/time-server
A HTTP time server
https://github.com/filiptronicek/time-server
Last synced: about 1 month ago
JSON representation
A HTTP time server
- Host: GitHub
- URL: https://github.com/filiptronicek/time-server
- Owner: filiptronicek
- Created: 2023-02-26T15:30:16.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-05T22:32:52.000Z (7 months ago)
- Last Synced: 2024-05-01T16:21:50.635Z (7 months ago)
- Language: Rust
- Homepage: https://time-server.vercel.app
- Size: 281 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `time-server`
A simple time server written in Rust, which you can use to ensure your clients' clocks are in sync with a server.
## Setup and Usage
### Pre-requisites
- Rust & Cargo (https://doc.rust-lang.org/cargo/getting-started/installation.html)
### Running the server
1. Clone the repo
```bash
git clone https://github.com/filiptronicek/time-server-rust.git
```
2. Run the server
```bash
cd server
cargo run
```
3. The server will be running on port 8000### `clock-check` CLI
The `clock-check` CLI is a simple tool that you can use to consume and use the data from the time server. More info in its [README](./cli/README.md).
## Public instances
These are some public instances of the time server, which you can use to test from the CLI. To use one of these, supply the URL as the `--server` argument to the CLI. If you decide to host one yourself, please add it to this list.
| URL | Description |
| ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| https://time.filiptronicek.workers.dev/ | A compatible time server hosted on Cloudflare Workers, which is based on the Javascript implementation of the server. |
| https://time-server.filiptronicek.workers.dev/ | A lightweight version of the server running on Cloudflare Workers with WebAssembly. |