2022-08-22 11:59:47 +09:00
# Cinny
< p >
2022-05-27 16:39:36 +09:00
< a href = "https://github.com/ajbura/cinny/releases" >
2022-05-27 17:39:53 +09:00
< img alt = "GitHub release downloads" src = "https://img.shields.io/github/downloads/ajbura/cinny/total?logo=github&style=social" > < / a >
2022-05-27 16:39:36 +09:00
< a href = "https://hub.docker.com/r/ajbura/cinny" >
2022-05-27 17:39:53 +09:00
< img alt = "DockerHub downloads" src = "https://img.shields.io/docker/pulls/ajbura/cinny?logo=docker&style=social" > < / a >
2022-05-27 16:39:36 +09:00
< a href = "https://fosstodon.org/@cinnyapp" >
2022-05-27 17:39:53 +09:00
< img alt = "Follow on Mastodon" src = "https://img.shields.io/mastodon/follow/106845779685925461?domain=https%3A%2F%2Ffosstodon.org&logo=mastodon&style=social" > < / a >
2022-05-27 16:39:36 +09:00
< a href = "https://twitter.com/intent/follow?screen_name=cinnyapp" >
2022-05-27 17:39:53 +09:00
< img alt = "Follow on Twitter" src = "https://img.shields.io/twitter/follow/cinnyapp?logo=twitter&style=social" > < / a >
2022-05-27 16:39:36 +09:00
< a href = "https://cinny.in/#sponsor" >
2022-05-27 17:39:53 +09:00
< img alt = "Sponsor Cinny" src = "https://img.shields.io/opencollective/all/cinny?logo=opencollective&style=social" > < / a >
2022-05-27 16:39:36 +09:00
< / p >
2021-07-28 22:15:52 +09:00
2022-08-22 11:59:47 +09:00
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.
2023-06-21 21:26:27 +09:00
- [Roadmap ](https://github.com/orgs/cinnyapp/projects/1 )
2022-08-22 11:59:47 +09:00
- [Contributing ](./CONTRIBUTING.md )
2021-07-28 22:15:52 +09:00
2023-02-26 17:52:05 +09:00
< img align = "center" src = "https://raw.githubusercontent.com/cinnyapp/cinny-site/main/assets/preview2-light.png" height = "380" >
2022-08-22 11:59:47 +09:00
## Getting started
2024-08-01 22:42:45 +09:00
* 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.
2021-08-02 00:51:58 +09:00
2024-08-01 22:42:45 +09:00
* You can also download our desktop app from [cinny-desktop repository ](https://github.com/cinnyapp/cinny-desktop ).
2021-09-15 20:47:31 +09:00
2024-08-01 22:42:45 +09:00
* To host Cinny on your own, download tarball of the app from [GitHub release ](https://github.com/cinnyapp/cinny/releases/latest ).
2022-08-22 11:59:47 +09:00
You can serve the application with a webserver of your choice by simply copying `dist/` directory to the webroot.
2024-08-01 22:42:45 +09:00
To set default Homeserver on login, register and Explore Community page, place a customized [`config.json` ](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` ](netlify.toml ). You can also set `hashRouter.enabled = true` in [`config.json` ](config.json ) if you have trouble setting redirects.
2024-08-01 22:45:22 +09:00
To deploy on subdirectory, you need to rebuild the app youself after updating the `base` path in [`build.config.ts` ](build.config.ts ). For example, if you want to deploy on `https://cinny.in/app` , then change `base: '/app'` .
2024-08-01 22:42:45 +09:00
* Alternatively you can just pull the [DockerHub image ](https://hub.docker.com/r/ajbura/cinny ) by:
```
docker pull ajbura/cinny
```
or [ghcr image ](https://github.com/cinnyapp/cinny/pkgs/container/cinny ) by:
```
docker pull ghcr.io/cinnyapp/cinny:latest
```
2021-09-15 20:47:31 +09:00
2022-05-27 16:39:36 +09:00
< details >
2022-08-22 11:59:47 +09:00
< summary > PGP Public Key to verify tarball< / summary >
2022-05-27 16:39:36 +09:00
```
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGJw/g0BDAC8qQeLqDMzYzfPyOmRlHVEoguVTo+eo1aVdQH2X7OELdjjBlyj
6d6c1adv/uF2g83NNMoQY7GEeHjRnXE4m8kYSaarb840pxrYUagDc0dAbJOGaCBY
FKTo7U1Kvg0vdiaRuus0pvc1NVdXSxRNQbFXBSwduD+zn66TI3HfcEHNN62FG1cE
K1jWDwLAU0P3kKmj8+CAc3h9ZklPu0k/+t5bf/L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kP2LU52oI5
mxFo+ioe/ABCufSmyqFye0psX3Sp
=WtqZ
2022-05-27 16:39:36 +09:00
-----END PGP PUBLIC KEY BLOCK-----
```
< / details >
2022-08-22 11:59:47 +09:00
## Local development
2022-05-21 21:03:01 +09:00
> We recommend using a version manager as versions change very quickly. You will likely need to switch
2024-04-24 23:31:01 +09:00
between multiple Node.js versions based on the needs of different projects you're working on. [NVM on windows ](https://github.com/coreybutler/nvm-windows#installation--upgrades ) on Windows and [nvm ](https://github.com/nvm-sh/nvm ) on Linux/macOS are pretty good choices. Recommended nodejs version is Iron LTS (v20).
2021-08-02 00:51:58 +09:00
2022-08-22 11:59:47 +09:00
Execute the following commands to start a development server:
2021-08-02 20:51:08 +09:00
```sh
2022-01-13 14:18:08 +09:00
npm ci # Installs all dependencies
2022-08-22 11:59:47 +09:00
npm start # Serve a development version
2021-08-02 00:51:58 +09:00
```
2022-08-22 11:59:47 +09:00
To build the app:
```sh
npm run build # Compiles the app into the dist/ directory
```
2021-08-02 00:51:58 +09:00
### 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
```
2022-08-22 11:59:47 +09:00
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` .