iris-messenger/README.md

122 lines
2.8 KiB
Markdown
Raw Normal View History

2021-08-09 12:10:15 +00:00
# Iris
2023-02-27 04:46:11 +00:00
Nostr client for better social networks.
- No phone number or signup required. Just type in your name or alias and go!
- Secure: It's open source. Users can validate that big brother doesn't read your private messages.
2023-01-06 08:26:19 +00:00
- Available: It works offline-first and is not dependent on any single centrally managed server.
2021-08-09 12:10:15 +00:00
## Use
2023-03-05 11:12:20 +00:00
Browser application: [iris.to](https://iris.to)
- No installation required
- Progressive web app
- Use offline
- Save as an app to home screen or desktop
2021-08-09 12:10:15 +00:00
## Develop
2023-03-08 06:57:29 +00:00
```bash
git clone https://github.com/irislib/iris-messenger.git
```
<details open><summary>Yarn</summary>
```bash
2021-07-08 21:31:30 +00:00
# install dependencies
2021-08-09 12:10:15 +00:00
yarn
2020-01-14 08:41:30 +00:00
2021-07-08 21:31:30 +00:00
# serve with hot reload at localhost:8080
2021-08-09 12:10:15 +00:00
yarn dev
2020-01-30 10:21:43 +00:00
2021-07-08 21:31:30 +00:00
# build for production with minification
2021-08-09 12:10:15 +00:00
yarn build
2020-01-30 11:10:53 +00:00
2021-07-08 21:31:30 +00:00
# test the production build locally
2021-08-09 12:10:15 +00:00
yarn serve
2020-01-30 11:10:53 +00:00
2021-07-08 21:31:30 +00:00
# run tests with jest and enzyme
2021-08-09 12:10:15 +00:00
yarn test
2021-07-08 21:31:30 +00:00
```
2020-12-20 07:14:18 +00:00
2023-03-08 06:57:29 +00:00
</details>
<details><summary>npm</summary>
```bash
# install dependencies
npm i
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# test the production build locally
npm run serve
# run tests with jest and enzyme
npm run test
```
</details>
2023-03-11 10:39:43 +00:00
2023-03-08 06:57:29 +00:00
[iris.to](https://iris.to) production version is in the [stable](https://github.com/irislib/iris-messenger/tree/stable) branch.
2023-03-14 09:34:47 +00:00
### Docker
Alternatively, you can run the dev environment on Docker: `docker-compose up`. The dev build with autoreload will be available at http://localhost:8080.
With [Docker Desktop](https://www.docker.com/products/docker-desktop/) and [GitHub Desktop](https://desktop.github.com/) this is an easy way to get started with development. Just clone this repository and run `docker-compose up` in a terminal in its directory.
2023-03-08 06:51:08 +00:00
### Tauri (desktop app)
2023-03-08 06:53:16 +00:00
[Tauri docs](https://tauri.app/v1/guides/)
2023-03-08 06:57:29 +00:00
<details open><summary>Yarn</summary>
2023-03-08 06:59:52 +00:00
2023-03-08 06:51:08 +00:00
```bash
# install dependencies
yarn
# develop
yarn tauri dev
# build
yarn tauri build
```
2023-03-08 06:59:52 +00:00
2023-03-08 06:57:29 +00:00
</details>
<details><summary>npm</summary>
2023-03-08 06:59:52 +00:00
2023-03-08 06:57:29 +00:00
```bash
# install dependencies
npm i
# develop
npm run tauri dev
# build
npm run tauri build
```
</details>
2023-03-08 06:51:08 +00:00
[iris.to](https://iris.to) production version is in the [production](https://github.com/irislib/iris-messenger/tree/production) branch.
Master branch is deployed to [beta.iris.to](https://beta.iris.to).
2023-03-05 11:07:00 +00:00
2023-03-14 09:34:47 +00:00
Tauri [desktop releases](https://github.com/irislib/iris-messenger/releases) are built from the `release` branch by GitHub CI.
2021-08-09 12:10:15 +00:00
## Privacy
The application is an unaudited proof-of-concept implementation, so don't use it for security critical purposes.
2021-08-09 12:10:15 +00:00
## Contact
Join our [Telegram](https://t.me/irismessenger) (will be moved onto Iris when group chat is ready).
2021-08-09 12:10:15 +00:00
---
2021-08-03 21:45:17 +00:00
2021-08-09 12:10:15 +00:00
<a href="https://opencollective.com/iris-social/donate" target="_blank"><img src="https://opencollective.com/iris-social/donate/button@2x.png?color=blue" width=200 /></a>