Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsoding/sowon
Starting Soon Timer for Tsoding Streams
https://github.com/tsoding/sowon
hacktoberfest hacktoberfest2020
Last synced: 5 days 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 (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-13T07:48:46.000Z (2 months ago)
- Last Synced: 2024-09-13T20:35:05.794Z (2 months ago)
- Topics: hacktoberfest, hacktoberfest2020
- Language: C++
- Homepage:
- Size: 1.19 MB
- Stars: 189
- Watchers: 6
- Forks: 20
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://github.com/tsoding/sowon/workflows/CI/badge.svg)](https://github.com/tsoding/sowon/actions)
# Sowon
![demo](./demo.gif)
## 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 |