Yet another matrix client. Soft-forked for supnas from https://github.com/cinnyapp/cinny
Find a file
Krishan a8f5a6c2f4
update self deploy instructions after react router (#1859)
* update self deploy instructions after react router

* List the alternative

* docs to deploy on subdir
2024-08-01 19:12:45 +05:30
.github Bump docker/setup-qemu-action from 3.1.0 to 3.2.0 (#1830) 2024-07-23 15:17:12 +10:00
.vscode Replace Webpack to Vite (#1023) 2022-12-20 20:47:51 +05:30
contrib/nginx add ngnix conf file for docker build (#1837) 2024-07-24 22:51:03 +10:00
public Load assets from relative path (#1588) 2024-01-23 18:35:50 +05:30
src fix tombstone replacement room open previous room (#1856) 2024-07-30 22:19:51 +10:00
.dockerignore Improve Dockerfile (#256) 2022-01-30 20:58:38 +05:30
.eslintignore Replace Webpack to Vite (#1023) 2022-12-20 20:47:51 +05:30
.eslintrc.cjs Fix unread reset and notification settings (#1824) 2024-07-23 15:14:32 +10:00
.gitignore Ignroe webstorm idea folder (#1638) 2024-05-22 21:56:44 +10:00
.npmrc Copy Olm directly from node modules (fixes #206) (#817) 2022-09-05 12:26:44 +05:30
.prettierignore Replace Webpack to Vite (#1023) 2022-12-20 20:47:51 +05:30
.prettierrc.json Replace Webpack to Vite (#1023) 2022-12-20 20:47:51 +05:30
build.config.ts feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
config.json Release v4.0.0 (#1836) 2024-07-24 18:30:49 +05:30
CONTRIBUTING.md Update sdk doc link so that it's not fixed to one version 2022-09-18 20:18:23 +05:30
docker-nginx.conf add ngnix conf file for docker build (#1837) 2024-07-24 22:51:03 +10:00
Dockerfile add ngnix conf file for docker build (#1837) 2024-07-24 22:51:03 +10:00
index.html (chore) remove outdated code (#1765) 2024-07-08 21:27:10 +10:00
LICENSE Change license to AGPLv3 (#1115) 2023-02-24 17:28:04 +05:30
netlify.toml URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
package-lock.json Release v4.0.3 (#1840) 2024-07-25 15:54:58 +10:00
package.json Release v4.0.3 (#1840) 2024-07-25 15:54:58 +10:00
README.md update self deploy instructions after react router (#1859) 2024-08-01 19:12:45 +05:30
tsconfig.json feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
vite.config.js URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00

Cinny

GitHub release downloads DockerHub downloads Follow on Mastodon Follow on Twitter Sponsor Cinny

A Matrix client focusing primarily on simple, elegant and secure interface. The main goal is to have an instant messaging application that is easy on people and has a modern touch.

Getting started

  • Web app is available at https://app.cinny.in and gets updated on each new release. The dev branch is continuously deployed at https://dev.cinny.in but keep in mind that it could have things broken.

  • You can also download our desktop app from cinny-desktop repository.

  • To host Cinny on your own, download tarball of the app from GitHub release. You can serve the application with a webserver of your choice by simply copying dist/ directory to the webroot. To set default Homeserver on login, register and Explore Community page, place a customized config.json in webroot of your choice. You will also need to setup redirects to serve the assests. An example setting of redirects for netlify is done in netlify.toml. You can also set hashRouter.enabled = true in config.json if you have trouble setting redirects. To deploy on subdirectory, you need to rebuild the app youself after updating the base path in build.confg.ts. For example, if you want to deploy on https://cinny.in/app, then change base: '/app'.

  • Alternatively you can just pull the DockerHub image by:

    docker pull ajbura/cinny
    

    or ghcr image by:

    docker pull ghcr.io/cinnyapp/cinny:latest
    
PGP Public Key to verify tarball
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQGNBGJw/g0BDAC8qQeLqDMzYzfPyOmRlHVEoguVTo+eo1aVdQH2X7OELdjjBlyj
6d6c1adv/uF2g83NNMoQY7GEeHjRnXE4m8kYSaarb840pxrYUagDc0dAbJOGaCBY
FKTo7U1Kvg0vdiaRuus0pvc1NVdXSxRNQbFXBSwduD+zn66TI3HfcEHNN62FG1cE
K1jWDwLAU0P3kKmj8+CAc3h9ZklPu0k/+t5bf/LJkvdBJAUzGZpehbPL5f3u3BZ0
leZLIrR8uV7PiV5jKFahxlKR5KQHld8qQm+qVhYbUzpuMBGmh419I6UvTzxuRcvU
Frn9ttCEzV55Y+so4X2e4ZnB+5gOnNw+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wRkkOsGz/XVcesJ1Pzg4bKivTS9kZjZSyT9RRSY8As0sVUN57AwYul
s1+eh00n/tVpi2Jj9pCm7S0csSXvXj8v2OTdK1jt4YjpzR0/rwh4+/xlOjDjZEqH
vMPhpzpbgnwkxZ3X8BFne9dJ3maC5zQ3LAeCP5m1W0hXzagYhfyjo74slJgD1O8c
LDf2Oxc5MyM8Y/UK497zfqSPfgT3NhQmhHzk83DjXw3I6Z3A3U+Jp61w0eBRI1nx
H1UIG+gldcAKUTcfwL0lghoT3nmi9JAbvek0Smhz00Bbo8/dx8vwQRxDUxlt7Exx
NwARAQABiQG8BBgBCAAmAhsMFiEEka4tjB4nWmmb/r77lDMMelCvzPMFAmahA9IF
CRb8CMUACgkQlDMMelCvzPPQgQv/d5/z+fxgKqgfhQX+V49X4WgTVxZ/CzztDoJ1
XAq1dzTNEy8AFguXIo6eVXPSpMxec7ZreN3+UPQBnCf3eR5YxWNYOYKmk0G4E8D2
KGUJept7TSA42/8N2ov6tToXFg4CgzKZj0fYLwgutly7K8eiWmSU6ptaO8aEQBHB
gTGIOO3h6vJMGVycmoeRnHjv4wV84YWSVFSoJ7cY0he4Z9UznJBbE/KHZjrkXsPo
N+Gg5lDuOP5xjKzM5SogV9lhxBAhMWAg3URUF15yruZBiA8uV1FOK8sal/9C1G7V
M6ygA6uOZqXlZtcdA94RoSsW2pZ9eLVPsxz2B3Zko7tu11MpNP/wYmfGTI3KxZBj
n/eodvwjJSgHpGOFSmbNzvPJo3to5nNlp7wH1KxIMc6Uuu9hgfDfwkFZgV2bnFIa
Q6gyF548Ub48z7Dz83+WwLgbX19ve4oZx+dqSdczP6ILHRQomtrzrkkP2LU52oI5
mxFo+ioe/ABCufSmyqFye0psX3Sp
=WtqZ
-----END PGP PUBLIC KEY BLOCK-----

Local development

We recommend using a version manager as versions change very quickly. You will likely need to switch between multiple Node.js versions based on the needs of different projects you're working on. NVM on windows on Windows and nvm on Linux/macOS are pretty good choices. Recommended nodejs version is Iron LTS (v20).

Execute the following commands to start a development server:

npm ci # Installs all dependencies
npm start # Serve a development version

To build the app:

npm run build # Compiles the app into the dist/ directory

Running with Docker

This repository includes a Dockerfile, which builds the application from source and serves it with Nginx on port 80. To use this locally, you can build the container like so:

docker build -t cinny:latest .

You can then run the container you've built with a command similar to this:

docker run -p 8080:80 cinny:latest

This will forward your localhost port 8080 to the container's port 80. You can visit the app in your browser by navigating to http://localhost:8080.