Matrix client / Element Web/Desktop fork
Find a file
su-ex 7a61dc1da8
Merge pull request #83 from nyantec/makefile
add icns and mas target to makefile
2021-08-13 18:36:31 +02:00
configs ... and remove matrix.org 2021-07-08 17:40:58 +02:00
deploy Change GitHub branch for release 2021-01-14 21:17:56 +01:00
element-desktop@f85673a78d Update submodules 2021-08-13 17:03:20 +02:00
element-web@30da293bc5 Update submodules 2021-08-13 17:03:20 +02:00
i18n-helper Add stuff for automatic i18n adjustment 2021-05-29 03:51:36 +02:00
i18n-overlays Translated using Weblate (Norwegian Bokmål) 2021-07-20 17:55:16 +02:00
local-pkgbuild-template Add target to create a local PKGBUILD to install .deb on Arch 2021-01-28 10:59:38 +01:00
matrix-js-sdk@54f6af151b Update submodules 2021-08-13 17:03:20 +02:00
matrix-react-sdk@682c3b8ef5 Update submodules 2021-08-13 17:03:20 +02:00
screenshots Update screenshots 2021-05-01 18:01:49 +02:00
.gitignore Add target to create a local PKGBUILD to install .deb on Arch 2021-01-28 10:59:38 +01:00
.gitmodules Update repo URLs to organization 2020-10-30 20:43:12 +01:00
alternative_package.sh Sync alternative_package.sh colors with SchildiChat-Android 2020-11-07 12:32:06 +01:00
create_local_pkgbuild.sh Add target to create a local PKGBUILD to install .deb on Arch 2021-01-28 10:59:38 +01:00
LICENSE Add LICENSE 2021-01-28 11:54:46 +01:00
Makefile add icns and mas target to makefile 2021-08-12 22:09:59 +02:00
merge_helpers.sh i18n: Run yarn i18n in submodules for each before overlaying 2021-07-20 19:54:18 +02:00
merge_upstream.sh Add option to regenerate i18n, add make target for it, move stuff around, cleanup 2021-05-29 15:07:59 +02:00
README.md add macOS signing info to README.md 2021-08-13 18:26:05 +02:00
regenerate_i18n.sh Add option to regenerate i18n, add make target for it, move stuff around, cleanup 2021-05-29 15:07:59 +02:00
setup.sh Add stuff for automatic i18n adjustment 2021-05-29 03:51:36 +02:00
windowsportable.sh Makefile: Add release targets 2020-11-03 09:54:49 +01:00

SchildiChat Web/Desktop

SchildiChat Web/Desktop is a fork of Element Web/Desktop.

The most important changes of SchildiChat Web/Desktop compared to Element Web/Desktop are:

  • A unifed chat list for both direct and group chats
  • Message bubbles
  • Bigger items in the room list
  • … and more!

Desktop downloads with installation instructions are listed on our website: https://schildi.chat/desktop
Hosted web variant: https://app.schildi.chat/

Feel free to join the discussion on matrix.

Building SchildiChat Web/Desktop

This particular repo is a wrapper project for element-desktop, element-web, matrix-react-sdk and matrix-js-sdk. It's the recommended starting point to build SchildiChat for Web and Desktop.

schildichat-desktop <-- this repo (recommended starting point to build SchildiChat for Web and Desktop)
|-- element-desktop (electron wrapper)
|-- element-web ("skin" for matrix-react-sdk)
|-- matrix-react-sdk (most of the development happens here)
`-- matrix-js-sdk (Matrix client js sdk)

Install dependencies

Debian build dependencies

Since Debian is usually slow to update packages on its stable releases, some dependencies might not be recent enough to build SchildiChat.
The following are the dependencies required to build SchildiChat Web/Desktop on Debian 10:

# apt install vim curl git make gcc g++ libsqlcipher-dev pkg-config libsecret-1-dev bsdtar
# curl -sL https://deb.nodesource.com/setup_14.x | bash -
# apt update
# apt install nodejs

# curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
# echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
# apt update
# apt install yarn

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ echo 'export PATH="$PATH:$HOME/.cargo/bin"' >> .bashrc
$ source .bashrc

macOS build dependencies

Install brew package manager
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install packages
brew install tcl rust node gpg vim curl git yarn git make gcc

Signed macOS builds

To sign a macOS build set the environment or make variable CSC_IDENTITY_AUTO_DISCOVERY to true or set CSC_NAME to your certificate name or id.

To notarize a build with Apple set NOTARIZE_APPLE_ID to your AppleID and set the keychain item NOTARIZE_CREDS to an App specific AppleID password.

Initial setup

git clone --recurse-submodules https://github.com/SchildiChat/schildichat-desktop.git
cd schildichat-desktop
make setup # optional step if using the other make targets

Create release builds

Those are the builds distributed via GitHub releases.

# The single make targets are explained below
make [{web|debian|windows-setup|windows-portable|macos}-release]

After that these packages which belong to to their respective make target should appear in release/<version>/:

  • web: schildichat-web-<version>.tar.gz: archive that can be unpacked and served by a web server (copy config.sample.json to config.json and adjust the configuration to your likings)
  • debian: file ready for installation on a Debian Linux (based) system via dpkg -i schildichat-desktop_<version>_amd64.deb
  • windows-setup: SchildiChat_Setup_v<version>.exe: file ready for installation on a Windows system
  • windows-portable: SchildiChat_win-portable_v<version>.zip: portable version for a Windows system take SchildiChat together with your login data around with you (the archive contains a readme with instructions and notes)
  • macos: Build a *.dmg for macOS
  • macos-mas: Build a *.pkg for release in the Mac App Store

Additional make targets not used for GitHub releases

  • pacman: file ready for installation on an Arch Linux (based) system via pacman -U schildichat-desktop-<version>.pacman
  • windows-unpacked: SchildiChat_win-unpacked_v<version>.zip: unpacked archive for a Windows system

Build SchildiChat Web and deploy it directly to your web server

Put the config.json with the configuration you want for your hosted instance in a subfolder of the configs folder.
Then create a file named release.mk and fill it similar to that:

.PHONY: your-deploy-web

YOUR_CFGDIR := configs/your_subfolder
your-deploy-%: CFGDIR := $(YOUR_CFGDIR)

your-deploy-web: web
	rsync --info=progress2 -rup --del element-web/webapp/ you@yourwebserver:/the/folder/served/for/schildi/