1
0
Fork 0
forked from mirror/cinny
Yet another matrix client https://cinny.celery.eu.org
Find a file
C0ffeeCode 1b9216b341
Improve Dockerfile (#256)
* Use npm ci over install to achive faster and more expectable build results;
Split copy package(-lock).json files and ci then to avoid reinstalling dependencies when not needed => Faster build times

* Stopp adding wasm type to mime.types, its already there (duplicate):
- avoids warning in console
- cleans up
- might have been missing in past nginx:alpine versions but now exists

* Change node tag from alpine and nginx to more specific ones for #260
2022-01-30 20:58:38 +05:30
.github Create dependabot.yml (#260) 2022-01-30 20:57:53 +05:30
contrib/nginx ensure new mime type comes in types. 2021-08-03 19:07:22 +02:00
public Add broken avatar fallback 2022-01-16 10:41:37 +05:30
src Fix bug in room member search 2022-01-30 18:57:15 +05:30
.dockerignore Improve Dockerfile (#256) 2022-01-30 20:58:38 +05:30
.eslintignore initial commit 2021-07-28 18:45:52 +05:30
.eslintrc.js initial commit 2021-07-28 18:45:52 +05:30
.gitignore Readded package-lock.json 2021-11-07 18:17:44 +05:30
_redirects added redirects 2021-07-31 12:55:20 +05:30
config.json Removed some servers and fixed shadow on input in safari 2021-11-06 18:09:29 +05:30
CONTRIBUTING.md Update contributing.md 2022-01-17 12:50:58 +05:30
Dockerfile Improve Dockerfile (#256) 2022-01-30 20:58:38 +05:30
LICENSE updated license and readme 2021-09-01 15:47:50 +05:30
olm.wasm Updated olm -> v3.2.8, matrix-js-sdk -> v15.2.1 2021-12-13 21:07:15 +05:30
package-lock.json Updated dependencies 2022-01-27 09:49:52 +05:30
package.json Updated dependencies 2022-01-27 09:49:52 +05:30
README.md Update readme 2022-01-13 10:48:08 +05:30
webpack.common.js Updated dependencies 2022-01-27 09:49:52 +05:30
webpack.dev.js initial commit 2021-07-28 18:45:52 +05:30
webpack.prod.js Bumped dependencies and v1.5.0 2021-11-07 15:46:36 +05:30

Cinny

Table of Contents

About

Cinny is a Matrix client focusing primarily on simple, elegant and secure interface.

preview

Building and Running

Running pre-compiled

A tarball of pre-compiled version of the app is provided with each release. You can serve the application with a webserver of your choosing by simply copying dist/ directory to the webroot.

Building from source

Execute the following commands to compile the app from its source code:

npm ci # Installs all dependencies
npm run build # Compiles the app into the dist/ directory

You can then copy the files to a webserver's webroot of your choice.

To serve a development version of the app locally for testing, you may also use the command npm start.

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.

Alternatively you can just pull the DockerHub image by docker pull ajbura/cinny.

Configuring default Homeserver

To set default Homeserver on login and register page, place a customized config.json in webroot of your choice.

License

Copyright (c) 2021 Ajay Bura (ajbura) and contributors

Code licensed under the MIT License: http://opensource.org/licenses/MIT

Graphics licensed under CC-BY 4.0: https://creativecommons.org/licenses/by/4.0/