https://github.com/evilenx/clock
Clock with nanoseconds writed in Rust.
https://github.com/evilenx/clock
clock-app rust
Last synced: 5 months ago
JSON representation
Clock with nanoseconds writed in Rust.
- Host: GitHub
- URL: https://github.com/evilenx/clock
- Owner: evilenx
- License: mit
- Created: 2025-07-25T00:28:57.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-01-15T02:47:27.000Z (5 months ago)
- Last Synced: 2026-01-15T08:46:40.548Z (5 months ago)
- Topics: clock-app, rust
- Language: Rust
- Homepage:
- Size: 73.9 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clock

[](https://opensource.org/licenses/MIT)
[](https://github.com/evilenx/clock/releases)
[](https://github.com/evilenx/clock/actions)
## Description
**Clock** is a Rust project that provides a digital clock implementation with nanosecond precision.
## Features
- High-precision time display with nanoseconds
- Built in Rust for performance and reliability
- Simple command-line interface
## Requirements
- **Rust** (latest stable version recommended)
- **Cargo** (included with Rust)
## Installation
1. **Clone the repository:**
```bash
git clone https://github.com/evilenx/clock.git
cd clock
```
2. **Build the project:**
```bash
cargo build --release
```
3. **Run the clock:**
```bash
cargo run --release
```
4. **Using curl**
```bash
curl -sSf https://raw.githubusercontent.com/evilenx/clock/main/install.sh | bash
```
## Configuration
The application requires a configuration file located at `~/.config/clock/config.yml` to set the font size.
**Create the configuration directory and file:**
```bash
mkdir -p ~/.config/clock
```
**Example `config.yml`:**
```yaml
font_size: 80
```
## Usage
After running the application, the digital clock will display the current time with nanosecond precision in your terminal. Make sure to create the configuration file before running the clock.
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.