mirror of
https://github.com/Chatterino/chatterino2.git
synced 2026-08-24 10:04:53 -05:00
24faaf87349933b894f377b44afbf65b22f7bc4f
scuffed prototype To-Dos: - make the UI look cleaner - clean up copy&pasted coding
Chatterino 2
Chatterino 2 is the second installment of the Twitch chat client series "Chatterino". For now you can check out Chatterino 1 at https://chatterino.com.
Downloading
You can download the latest Chatterino 2 build over here
You might also need to install the VC++ 2017 Redistributable from Microsoft if you do not have it installed already.
If you still receive an error about MSVCR120.dll missing, then you should install the VC++ 2013 Restributable.
Releases for linux and mac will follow soon™
Building
To get source code with required submodules run:
git clone --recursive https://github.com/fourtf/chatterino2.git
or
git clone https://github.com/fourtf/chatterino2.git
git submodule update --init --recursive
Code style
The code is formated using clang format in Qt Creator. .clang-format contains the style file for clang format.
Get it automated with QT Creator + Beautifier + Clang Format
- Download LLVM: http://releases.llvm.org/6.0.1/LLVM-6.0.1-win64.exe
- During the installation, make sure to add it to your path
- In QT Creator, select
Help>About Plugins>C++>Beautifierto enable the plugin - Restart QT Creator
- Select
Tools>Options>Beautifier - Under
GeneralselectTool: ClangFormatand enableAutomatic Formatting on File Save - Under
Clang FormatselectUse predefined style: FileandFallback style: None
Qt creator should now format the documents when saving it.
Languages
C++
95%
CMake
2.5%
Python
1.2%
Lua
0.7%
Shell
0.3%
Other
0.2%