Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quitefrasmotic/simpledeathcounter
A dead simple, streamer-controlled OBS death counter for Windows and Linux
https://github.com/quitefrasmotic/simpledeathcounter
death-counter linux obs qt streaming twitch windows
Last synced: 9 days ago
JSON representation
A dead simple, streamer-controlled OBS death counter for Windows and Linux
- Host: GitHub
- URL: https://github.com/quitefrasmotic/simpledeathcounter
- Owner: quitefrasmotic
- License: gpl-3.0
- Created: 2022-03-26T04:06:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-01T05:39:00.000Z (almost 3 years ago)
- Last Synced: 2024-08-23T04:40:06.690Z (5 months ago)
- Topics: death-counter, linux, obs, qt, streaming, twitch, windows
- Language: C++
- Homepage:
- Size: 778 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimpleDeathCounter
## A dead simple, streamer-controlled OBS death counter for Windows and Linux
This app simply provides a **global keyboard shortcut** which is used to increase a number inside a text file which OBS shows with the Text source's "Read from file" option.
**Therefore, setup is very easy:**
- Run the app
- Create a Text source in OBS
- Check "Read from file"
- Select "deaths.txt" ~~in `%AppData%\simple-death-counter\` on Windows, or `~/.config/simple-death-counter/` on Linux.~~**NOTE:** This location isn't implemented yet, right now it's in the bin/ folder where the app is installed. Because of this, make sure to install the app where it has permission to write - e.g. your Documents folder.
## More details
Written in C++ using the Qt 5 Framework, this app provides an exceedingly lightweight and native experience on both Windows and Linux. It uses the amazing [QHotkey by Skycoder42](https://github.com/Skycoder42/QHotkey).**Linux note:** Unfortunately this app doesn't support global hotkeys on Wayland due to the protocol's immaturity in this area. However, work on this seems to be progressing.
This is also, perhaps obviously if you look at the code, a project I used to learn C++ and Qt. Because of this, there may be bugs and inefficiencies - sorry!
## Building
I've only tested building on Linux - my CMake config may not work for other platforms.
### CMake
```
$ mkdir build
$ cd build
$ cmake -B . -S ../
$ cmake --build .
```
Then to package (NSIS using MINGW, tar.xz using Linux) (optional):
```
$ cpack -C CPackConfig.cmake
```## Licensing
Project|License
-------|--------
SimpleDeathCounter|GPL-3.0
[Qt 5](https://doc.qt.io/qt-5/)|LGPL-3.0
[QHotkey](https://github.com/Skycoder42/QHotkey)|BSD-3-Clause