Chat client for https://twitch.tv
Find a file
pajlada 269e7a07b4
chore: Unify .clang-format file (#5037)
* chore: Unify all .clang-format files in the root dir

* Update `scripts/check-format.sh` to include all source dirs

* Add changelog entry
2023-12-17 13:50:42 +00:00
.CI Update flatpak nightly build link (#5008) 2023-12-09 09:47:26 +01:00
.docker Fix input completion tests on Qt6 & run tests on 22.04 (#4774) 2023-08-27 11:11:59 +00:00
.github dev: Rename tools directory to scripts (#5035) 2023-12-17 13:37:30 +01:00
.patches Separate Ubuntu .deb packages per Ubuntu release (#4357) 2023-02-11 22:50:01 +00:00
.sanitizers Fix memory leaks & data races in tests (#4772) 2023-08-27 12:07:46 +00:00
benchmarks chore: Unify .clang-format file (#5037) 2023-12-17 13:50:42 +00:00
cmake Update magic_enum from v0.9.3 to v0.9.5 (#4992) 2023-12-01 15:03:04 +01:00
docs BREAKING: Replace custom import() with normal Lua require(). (#5014) 2023-12-16 12:16:54 +00:00
lib chore(deps): bump lib/crashpad from 3182e3b to 89991e9 (#5005) 2023-12-09 12:02:01 +00:00
mocks chore: Unify .clang-format file (#5037) 2023-12-17 13:50:42 +00:00
resources Add crazysmc to the contributors list (#5020) 2023-12-13 12:25:14 +00:00
scripts chore: Unify .clang-format file (#5037) 2023-12-17 13:50:42 +00:00
src chore: Unify .clang-format file (#5037) 2023-12-17 13:50:42 +00:00
tests chore: Unify .clang-format file (#5037) 2023-12-17 13:50:42 +00:00
.cirrus.yml Format YAML and JSON Files With Prettier (#4304) 2023-01-15 17:27:41 +01:00
.clang-format chore: Unify .clang-format file (#5037) 2023-12-17 13:50:42 +00:00
.clang-tidy chore: Add a 10m timeout to the clang-tidy CI job (#4939) 2023-11-04 13:36:01 +00:00
.dockerignore Separate Ubuntu .deb packages per Ubuntu release (#4357) 2023-02-11 22:50:01 +00:00
.git-blame-ignore-revs Add .git-blame-ignore-revs (#4743) 2023-08-05 11:10:55 +00:00
.gitattributes Add .gitattributes file to normalize line endings 2019-09-08 22:01:12 +02:00
.gitignore Fix all warnings from the cppcoreguidelines-pro-type-member-init clang-tidy check (#4426) 2023-09-09 11:11:19 +00:00
.gitmodules Add basic lua scripting capabilities (#4341) 2023-04-02 15:31:53 +02:00
.prettierignore Store Themes as JSON files (#4471) 2023-04-08 09:05:55 +00:00
.prettierrc Format YAML and JSON Files With Prettier (#4304) 2023-01-15 17:27:41 +01:00
BUILDING_ON_FREEBSD.md Remove official support for QMake (#3839) 2022-07-23 14:04:29 +02:00
BUILDING_ON_LINUX.md fix fedora build dependencies (#4828) 2023-09-18 14:12:19 +02:00
BUILDING_ON_MAC.md Update macOS build instructions & fix release artifacts (#4545) 2023-04-15 14:23:33 +02:00
BUILDING_ON_WINDOWS.md Update Windows build instructions & contributing docs (#4858) 2023-10-09 18:30:27 +00:00
BUILDING_ON_WINDOWS_WITH_VCPKG.md Update Windows build documentation (#4413) 2023-03-04 12:09:20 +01:00
CHANGELOG.md chore: Unify .clang-format file (#5037) 2023-12-17 13:50:42 +00:00
CMakeLists.txt feat: Add VERSIONINFO resource for windows (#4912) 2023-11-03 18:19:50 +01:00
conanfile.py conan: Update Boost to 1.83 & OpenSSL to 3.2.0 (#5007) 2023-12-09 00:23:35 +01:00
CONTRIBUTING.md Update Windows build instructions & contributing docs (#4858) 2023-10-09 18:30:27 +00:00
LICENSE Add LICENSE file (#130) 2017-10-13 21:57:43 +02:00
README.md ci: Use clang-format 16 (#4929) 2023-10-31 17:24:47 +00:00
vcpkg.json Update vcpkg to Qt6 (#4872) 2023-10-07 09:09:58 +00:00

chatterinoLogo Chatterino 2 GitHub Actions Build (Windows, Ubuntu, MacOS) Cirrus CI Build (FreeBSD only) Chocolatey Package Flatpak Package

Chatterino 2 is a chat client for Twitch.tv. The Chatterino 2 wiki can be found here. Contribution guidelines can be found here.

Download

Current releases are available at https://chatterino.com. Windows users can also install Chatterino from Chocolatey.

Nightly build

You can download the latest Chatterino 2 build over here

You might also need to install the VC++ Redistributables 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.

Building

To get source code with required submodules run:

git clone --recurse-submodules https://github.com/Chatterino/chatterino2.git

or

git clone https://github.com/Chatterino/chatterino2.git
cd chatterino2
git submodule update --init --recursive

Building on Windows

Building on Windows with vcpkg

Building on Linux

Building on Mac

Building on FreeBSD

Git blame

This project has big commits in the history which for example update all line endings. To improve the output of git-blame, consider setting:

git config blame.ignoreRevsFile .git-blame-ignore-revs

This will ignore all revisions mentioned in the .git-blame-ignore-revs file. GitHub does this by default.

Code style

The code is formatted using clang format in Qt Creator. .clang-format contains the style file for clang format.

Get it automated with QT Creator + Beautifier + Clang Format

  1. Download LLVM: https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.6/LLVM-16.0.6-win64.exe
  2. During the installation, make sure to add it to your path
  3. In QT Creator, select Help > About Plugins > C++ > Beautifier to enable the plugin
  4. Restart QT Creator
  5. Select Tools > Options > Beautifier
  6. Under General select Tool: ClangFormat and enable Automatic Formatting on File Save
  7. Under Clang Format select Use predefined style: File and Fallback style: None

Qt creator should now format the documents when saving it.

Doxygen

Doxygen is used to generate project information daily and is available here.