https://github.com/tsoding/sowon
Starting Soon Timer for Tsoding Streams
https://github.com/tsoding/sowon
hacktoberfest hacktoberfest2020
Last synced: 3 months ago
JSON representation
Starting Soon Timer for Tsoding Streams
- Host: GitHub
- URL: https://github.com/tsoding/sowon
- Owner: tsoding
- License: other
- Created: 2020-08-20T13:43:11.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-08T19:55:00.000Z (8 months ago)
- Last Synced: 2025-04-29T12:15:09.149Z (3 months ago)
- Topics: hacktoberfest, hacktoberfest2020
- Language: C++
- Homepage:
- Size: 1.2 MB
- Stars: 259
- Watchers: 5
- Forks: 31
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/tsoding/sowon/actions)
# Sowon

## Build
Dependencies: [SDL2](https://www.libsdl.org/download-2.0.php)
### Debian
```console
$ sudo apt-get install libsdl2-dev
$ make
```### MacOS
```console
$ brew install sdl2 pkg-config
$ make
```### Windows
#### Visual Studio
- Enter the Visual Studio Command Line Development Environment https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line
- Basically just find `vcvarsall.bat` and run `vcvarsall.bat x64` inside of cmd
- Download [SDL2 VC Development Libraries](https://libsdl.org/release/SDL2-devel-2.0.12-VC.zip) and copy it to `path\to\sowon````console
> cd path\to\sowon
> tar -xf SDL2-devel-2.0.12-VC.zip
> move SDL2-2.0.12 SDL2
> del SDL2-devel-2.0.12-VC.zip
> build_msvc
```## Usage
### Modes
- Ascending mode: `./sowon`
- Descending mode: `./sowon `
- Clock Mode: `./sowon clock`### Flags
- Start in paused state: `./sowon -p `
- Exit sowon after countdown finished: `./sowon -e`### Key bindings
| Key | Description |
| --- | --- |
| SPACE | Toggle pause |
| = | Zoom in |
| - | Zoom out |
| 0 | Zoom 100% |
| F5 | Restart |
| F11 | Fullscreen |