Compare commits

...

7 Commits

Author SHA1 Message Date
Gary
d612d0fa11 About page: Fixed typos and links. 2024-01-10 10:36:44 -08:00
Gary
4baff5dcf4 main: added public pages section to Home page. 2024-01-09 16:52:27 -08:00
Gary
fec3f4a535 main: update to README 2024-01-09 15:14:37 -08:00
Gary
38bb81d758 main: change to favicon. 2024-01-09 14:51:44 -08:00
Gary
29aede18f9 main: created docker files 2024-01-03 19:02:30 -08:00
Gary
811c35bbd5 main: prelim update to documention. 2024-01-03 18:41:17 -08:00
Gary
6003270216 Main: Begin derived app rewrite into remnantchat. 2024-01-03 18:09:51 -08:00
45 changed files with 264 additions and 784 deletions

2
.env
View File

@ -1,2 +1,2 @@
REACT_APP_NAME=$npm_package_name
REACT_APP_GITHUB_REPO="https://github.com/jeremyckahn/chitchatter"
REACT_APP_GITHUB_REPO="https://githaven.org/shiloh/remnantchat"

View File

@ -1,23 +0,0 @@
name: Community Room Request
description: Request a new Community Room
title: '[Community Room Request]: '
labels: ['room request']
assignees:
- jeremyckahn
body:
- type: input
id: room-url
attributes:
label: Room URL
description: What is the Chitchatter URL for this room?
placeholder: ex. https://chitchatter.im/public/room-subject
validations:
required: true
- type: input
id: room-subject
attributes:
label: Room Subject
description: What should be discussed in this room?
placeholder: ex. Technology, video games, etc.
validations:
required: true

View File

@ -1,26 +0,0 @@
name: CI
on:
push:
branches:
- '**'
# - '!main'
jobs:
test_and_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: npm test
- name: 'Build web app artifacts'
run: npm run build
- uses: actions/upload-artifact@v3
with:
name: build-output
path: build

View File

@ -1,34 +0,0 @@
name: Deploy to Github Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Build
run: |
npm ci
npm run build
npm run analyze -- --html build/bundle-info.html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.DEPLOY_KEY }}
publish_dir: ./build
force_orphan: true

View File

@ -1,34 +0,0 @@
name: Perform Security Audit with ZAProxy
# Use ZAP Proxy to perform a full scan of the production site.
on:
# manually trigger workflow
workflow_dispatch:
# Listen for Production deployments
workflow_run:
workflows: [pages-build-deployment]
types:
- completed
jobs:
zap_scan:
runs-on: ubuntu-latest
name: Scan Production Site
steps:
- name: Set Date (NOW) as Variable
id: set-now
run: |
echo "NOW=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
- name: Checkout Repo for .zap/rules.tsv
uses: actions/checkout@v4
- name: ZAP Full Scan
# https://github.com/zaproxy/action-full-scan
uses: zaproxy/action-full-scan@v0.7.0
with:
target: 'https://chitchatter.im/'
rules_file_name: '.zap/rules.tsv'
artifact_name: 'zap_scan_${{ steps.set-now.outputs.NOW }}'
allow_issue_writing: false

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM node:14-alpine
WORKDIR /remnantchat/
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD ["npm", "start"]

View File

@ -1 +0,0 @@
github: [jeremyckahn]

130
README.md
View File

@ -1,10 +1,8 @@
# Chitchatter
# RemnantChat
![Chitchatter logo](./public/logo/logo.svg)
![RemnantChat logo](./public/logo/logo.svg)
<sub>Logo provided by [@ramyashreeshetty](https://github.com/ramyashreeshetty)</sub>
Chitchatter is a free (as in both price and freedom) communication tool. Designed to be the simplest way to connect with others privately and securely, it is:
RemnantChat is a free (as in both price and freedom) communication tool. It is forked from the platform ChitChatter [see the upstream project](https://github.com/jeremyckahn/chitchatter/blob/develop/README.md). Designed to be the simplest way to connect with others privately and securely, it is:
- Fully open source (licensed under [GPL v2](./LICENSE))
- Peer-to-peer
@ -13,19 +11,19 @@ Chitchatter is a free (as in both price and freedom) communication tool. Designe
- Ephemeral
- Message content is never persisted to disk on either the client or server
- Decentralized
- There is no API server. All that's required for Chitchatter to function is availability of GitHub for static assets, and public WebTorrent and STUN/TURN relay servers for establishing peer-to-peer communication.
- There is no API server. All that's required for RemnantChat to function is availability of static assets on the server, and public WebTorrent and STUN/TURN relay servers for establishing peer-to-peer communication.
- Embeddable
- [Self-hostable](#self-hosting)
Chitchatter uses the [Create React App](https://github.com/facebook/create-react-app) toolchain. The secure networking and streaming magic would not be possible without [Trystero](https://github.com/dmotz/trystero). File transfer functionality is powered by [`secure-file-transfer`](https://github.com/jeremyckahn/secure-file-transfer).
RemnantChat uses the [Create React App](https://github.com/facebook/create-react-app) toolchain. The secure networking and streaming magic would not be possible without [Trystero](https://github.com/dmotz/trystero). File transfer functionality is powered by [`secure-file-transfer`](https://github.com/jeremyckahn/secure-file-transfer).
## Status
- [![Known Vulnerabilities](https://snyk.io/test/github/jeremyckahn/chitchatter/badge.svg?targetFile=package.json)](https://snyk.io/test/github/jeremyckahn/chitchatter?targetFile=package.json)
TBA
## How to use it
Open https://chitchatter.im/ and join a room to start chatting with anyone else who is in the room. By default, room names are random [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier)s that are generated client-side. To privately communicate with someone, it is recommended to join one of these randomly-generated rooms and share the URL (via the "🔗" button at the top of the page) to whomever you wish to communicate with via a secure medium of your choosing (such as [Burner Note](https://burnernote.com/) or [Yopass](https://yopass.se/)). Your user name will be presented to you, and it would be good to share that with who you will be chatting with beforehand so they know they're talking to you.
Open https://remnant.chat/ and join a room to start chatting with anyone else who is in the room. By default, room names are random [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier)s that are generated client-side. To privately communicate with someone, it is recommended to join one of these randomly-generated rooms and share the URL (via the "🔗" button at the top of the page) to whomever you wish to communicate with via a secure medium of your choosing (such as [Burner Note](https://burnernote.com/) or [Yopass](https://yopass.se/)). Your user name will be presented to you, and it would be good to share that with who you will be chatting with beforehand so they know they're talking to you.
## Features
@ -47,21 +45,21 @@ Open https://chitchatter.im/ and join a room to start chatting with anyone else
## Anti-features
- Messages are never persisted to disk. When you leave a peer room, messages are cleared from memory and cannot be retrieved.
- Chitchatter is an entirely client-side communication app. It uses public WebTorrent servers to establish peer connections and STUN/TURN relay servers when direct peer-to-peer connections cannot be established, but there is no Chitchatter API server.
- RemnantChat is an entirely client-side communication app. It uses public WebTorrent servers to establish peer connections and STUN/TURN relay servers when direct peer-to-peer connections cannot be established, but there is no RemnantChat API server.
- No analytics, tracking, or telemetry of any kind.
- This is a community-driven and unfunded project that makes no money. The users come first and there is no corporate influence or financial interest involved.
- This is a Christian community-driven project.
## Why another chat app?
There is no shortage of user-friendly chat apps available, but they rely on a central service to facilitate communication. It is difficult to trust these central services, as commercial interests and [government pressure](https://www.npr.org/2022/08/12/1117092169/nebraska-cops-used-facebook-messages-to-investigate-an-alleged-illegal-abortion) can compel service operators to work against the best interest of the users. Even when user data is handled in good faith by service operators, the possibility remains that [encrypted data held at rest may be decrypted](https://www.cbsnews.com/news/fbi-may-have-found-way-to-unlock-san-bernardino-shooters-iphone/) against the user's will.
There is no shortage of user-friendly chat apps available, but they rely on a central service to facilitate communication. It is difficult to trust these central services. Even when user data is handled in good faith by service operators, the possibility remains that encrypted data held at rest may be decrypted against the user's will.
Chitchatter designs around these risks with a [web meshe architecture](https://dev.to/jeremyckahn/taking-the-power-back-with-web-meshes-omg). There is no central service operator that stores or potentially mishandles communication data. Some services are required to establish an initial connection between peers, but otherwise the app uses direct peer-to-peer communication for everything. Any services that are used by Chitchatter have no association with the project and are publicly available for all to use.
RemnantChat designs around these risks with a web mesh architecture. There is no central service operator that stores or potentially mishandles communication data. Some services are required to establish an initial connection between peers, but otherwise the app uses direct peer-to-peer communication for everything. Any services that are used by RemnantChat have no association with the project and are publicly available for all to use.
## Use cases
Chitchatter offers a private and secure solution for:
RemnantChat offers a private and secure solution for:
- Organizing groups of people, such as unions or political movements
- Churches
- Conveniently moving text or data from one device to another
- Video chatting with friends and family across operating systems (such as Android and iOS)
- IT troubleshooting via screen sharing
@ -75,76 +73,47 @@ Chitchatter offers a private and secure solution for:
### 💻️ Project status
I consider Chitchatter feature-complete inasmuch it does all the things I personally need it to do. I don't have specific plans to add significant functionality in the future, but I may do so if it seems fun to me at the time. **I am committed to fixing any significant bugs** that are reported, so please [open an issue](https://github.com/jeremyckahn/chitchatter/issues/new) if you discover one! Aside from that, Chitchatter is effectively in maintenance mode for the foreseeable future.
Please [open an issue](https://githaven.org/shiloh/RemnantChat/issues/new) if you discover a bug.
If you would like a feature to be implemented and are willing to pay a development cost to ensure it gets done, please file a GitHub issue describing the feature and indicate that you are willing to compensate for the work. If you are not willing to pay, please open a GitHub issue regardless. I may implement it if it seems fun to do so, but other members of the community may also step up to implement it via Pull Requests.
If you would like a feature to be implemented please file a GitHaven issue describing the feature. If you are not able to work on it yourself other members of the community may step up to implement it via Pull Requests.
I will always make time support Pull Requests from others. If you're willing to put in the work to improve Chitchatter, I am willing to help shepherd that work along and get it shipped.
We will always make time to support Pull Requests from others. If you're willing to put in the work to improve RemnantChat, we are willing to help shepherd that work along and get it shipped.
If you don't agree with the direction of the project, you are welcome to fork Chitchatter and take it in another one.
### 🏗️ Support and custom development
I'm willing to do paid installations and customizations of Chitchatter for your needs. If you'd like to contract me to make a version of Chitchatter that is custom built for you, please email me at jeremyckahn@gmail.com and let me know what you have in mind to get started.
---
If you don't agree with the direction of the project, you are welcome to fork RemnantChat and take it in another one.
## Veracity
The core of Chitchatter's security model is the fact that it is fully open source. You are free (and encouraged) to fully audit the project source code and infrastructure. Not only is the source code available under the terms of the [GPL](./LICENSE), but [all build logs are publicly accessible](https://github.com/jeremyckahn/chitchatter/actions/workflows/pages/pages-build-deployment) as well.
If you would like to verify that the app hosted at https://chitchatter.im/ is the one that is hosted on GitHub, you can use `dig`:
```
$ dig chitchatter.im
; <<>> DiG 9.18.1-1ubuntu1.1-Ubuntu <<>> chitchatter.im
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61332
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;chitchatter.im. IN A
;; ANSWER SECTION:
chitchatter.im. 231 IN CNAME jeremyckahn.github.io.
jeremyckahn.github.io. 231 IN A 185.199.111.153
jeremyckahn.github.io. 231 IN A 185.199.110.153
jeremyckahn.github.io. 231 IN A 185.199.109.153
jeremyckahn.github.io. 231 IN A 185.199.108.153
```
To examine the static assets that are served to end users, you can audit the [`gh-pages` branch](https://github.com/jeremyckahn/chitchatter/tree/gh-pages).
The core of RemnantChat's security model is the fact that it is fully open source. You are free (and encouraged) to fully audit the project source code and infrastructure.
## Project roadmap
See the full ticket backlog [here](https://github.com/users/jeremyckahn/projects/1).
- Add room moderation
- Chat history persistence settings
- Direct Messaging
- Emoticons on desktop (also ability to react to messages)
- Respond to messages
## Environments
- Production environment: https://chitchatter.im/
- Mirror: https://chitchatter.vercel.app/ (note that peers cannot connect across domains)
- Staging: https://chitchatter-git-develop-jeremyckahn.vercel.app/
- Production environment: https://remnant.chat
- Staging:
## SDK
You can use the official Chitchatter SDK to embed the app as a [Web Component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) called `<chat-room />`.
You can use the official RemnantChat SDK to embed the app as a [Web Component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) called `<chat-room />`.
```html
<script src="https://chitchatter.im/sdk.js"></script>
<script src="https://remnant.chat/sdk.js"></script>
<chat-room />
```
The `<chat-room />` component supports the following optional attributes:
- `room`: The name of the Chitchatter room the user should join. The default value is the URL of the embedding page.
- `room`: The name of the RemnantChat room the user should join. The default value is the URL of the embedding page.
- `user-name`: The friendly name of the user (which they can change).
- `user-id`: The static ID of the user. The default value is a random UUID.
- `root-url`: The URL of the Chitchatter instance to use. The default value is `https://chitchatter.im/`.
- `root-url`: The URL of the RemnantChat instance to use. The default value is `https://RemnantChat.im/`.
- `color-mode`: `light` or `dark`. The default value is `dark`.
- `play-message-sound`: Whether or not to play a sound when a user receives a message while the window is not in focus. The default value is `false`.
@ -158,6 +127,8 @@ As well as the following [standard `<iframe />` attributes](https://developer.mo
## Available Scripts
Note: make sure to run 'npm install' after cloning the repo.
In the project directory, you can run:
### `npm dev`
@ -183,24 +154,13 @@ The build is minified and the filenames include the hashes.
### Self-hosting
Chitchatter is designed to be forked and self-hosted. If you would like to change pairing or relay server configuration, or you simply prefer to control your own builds and versions, just [fork this repo](https://github.com/jeremyckahn/chitchatter/fork) and follow the steps below.
RemnantChat is designed to be forked and self-hosted. If you would like to change pairing or relay server configuration, or you simply prefer to control your own builds and versions, just [fork this repo](https://githaven.org/repo/fork/57) and follow the steps below.
#### Caveats
Chitchatter peer connections are bound to the instance's domain. So, a user of Chitchatter at https://chitchatter.im/ would not be able to connect to a user of a Chitchatter instance on another domain (such as a personal GitHub Pages-hosted fork).
RemnantChat peer connections are bound to the instance's domain. So, a user of RemnantChat at https://remnant.chat/ would not be able to connect to a user of a RemnantChat instance on another domain.
#### Necessary steps after forking
Assuming you are hosting Chitchatter on [GitHub Pages](https://pages.github.com/):
1. Change the [`homepage` property in `package.json`](https://github.com/jeremyckahn/chitchatter/blob/1ea67e2c3a45115e054ebfe3457f2c3572c6213b/package.json#L4) to whatever URL your Chitchatter instance will be hosted from. This will be something like `https://github_user_or_org_name.github.io/chitchatter/`.
2. Define a [`DEPLOY_KEY` GitHub Action secret](https://github.com/jeremyckahn/chitchatter/blob/e2bac732cf1288f7b5d0bec151098f18e8b1d0d6/.github/workflows/deploy.yml#L28-L31) (at `https://github.com/github_user_or_org_name/chitchatter/settings/secrets/actions`). See the docs for [`peaceiris/actions-gh-pages`](https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-set-ssh-private-key-deploy_key) for more information.
#### Deployment
##### On GitHub
When hosted on GitHub Pages and the configuration above has been done, the Production environment is updated when the remote `main` branch is updated (once GitHub Actions are enabled).
#### Deployment After Forking
##### On non-GitHub hosts
@ -212,9 +172,7 @@ Explore the files in `src/config` to modify pairing and relay server configurati
### Troubleshooting
If you run into any issues with a custom Chitchatter installation, first ensure that you are using [the latest version of the code](https://github.com/jeremyckahn/chitchatter/tree/main). If you are hosting your installation with GitHub Pages, sync your `main` branch and _not_ your `gh-pages` branch. Updating your `main` branch will trigger a proper rebuild of your `gh-pages` branch.
- https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork
If you run into any issues with a custom RemnantChat installation, first ensure that you are using [the latest version of the code](https://githaven.org/shiloh/RemnantChat/tree/main).
#### Peers won't connect
@ -222,28 +180,20 @@ This could happen for a variety of reasons. The most likely of which is that one
##### Issues specific to browsers with ad blocking extensions
Some ad blockers (such as uBlock Origin) prevent connections to certain WebTorrent servers. This prevents Chitchatter peers from connecting. To work around this, you can either disable your ad blocker or [self-host your own Chitchatter instance](#self-hosting).
Some ad blockers (such as uBlock Origin) prevent connections to certain WebTorrent servers. This prevents RemnantChat peers from connecting. To work around this, you can either disable your ad blocker or [self-host your own RemnantChat instance](#self-hosting).
##### Issues specific to iOS Safari
Chitchatter works on iOS Safari, but browser-level bugs often prevent peers from rejoining the room when the browser is closed and later reopened (for instance, when switching applications). The suggested workaround for this issue is to refresh the page to rejoin the room.
RemnantChat works on iOS Safari, but browser-level bugs often prevent peers from rejoining the room when the browser is closed and later reopened (for instance, when switching applications). The suggested workaround for this issue is to refresh the page to rejoin the room.
##### Issues specific to Firefox
Per [#36](https://github.com/jeremyckahn/chitchatter/issues/36), check your `about:config` settings and ensure that `media.peerconnection.enabled` is **enabled**.
check your `about:config` settings and ensure that `media.peerconnection.enabled` is **enabled**.
##### Security
Chitchatter undergoes [weekly security audits](https://github.com/jeremyckahn/chitchatter/blob/develop/.github/workflows/security.yml) to identify and address potential vulnerabilities. Reports from all audits can be found in [**Issues**](https://github.com/jeremyckahn/chitchatter/issues?q=%22Security+Report+-+%22).
### Contributors
<p align="center">
<a href="https://github.com/jeremyckahn/chitchatter/graphs/contributors">
<img src="https://contrib.rocks/image?repo=jeremyckahn/chitchatter" />
</a>
</p>
## ⚠️ [Disclaimer](https://remnant.chat/disclaimer)
## ⚠️ [Disclaimer](https://chitchatter.im/disclaimer)
By using Chitchatter, you agree to accept **full responsibility** for your actions related to its use. Additionally, you agree **not** to hold any contributors to the Chitchatter project responsible for any result of your use of it. The developers of Chitchatter do not endorse illegal activity.
By using RemnantChat, you agree to accept **full responsibility** for your actions related to its use. Additionally, you agree **not** to hold any contributors to the RemnantChat project responsible for any result of your use of it. The developers of RemnantChat do not endorse illegal activity.

10
docker-compose.yml Normal file
View File

@ -0,0 +1,10 @@
version: '3'
services:
remnantchat:
build: .
ports:
- '3000:3000'
volumes:
- '.:/remnantchat/'
environment:
- NODE_ENV=production

122
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "chitchatter",
"name": "remnantchat",
"version": "0.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "chitchatter",
"name": "remnantchat",
"version": "0.0.0",
"license": "GPL-2.0-or-later",
"dependencies": {
@ -4335,6 +4335,58 @@
"@lezer/common": "^1.0.0"
}
},
"node_modules/@lmdb/lmdb-darwin-arm64": {
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.8.5.tgz",
"integrity": "sha512-KPDeVScZgA1oq0CiPBcOa3kHIqU+pTOwRFDIhxvmf8CTNvqdZQYp5cCKW0bUk69VygB2PuTiINFWbY78aR2pQw==",
"cpu": [
"arm64"
],
"dev": true,
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@lmdb/lmdb-darwin-x64": {
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.8.5.tgz",
"integrity": "sha512-w/sLhN4T7MW1nB3R/U8WK5BgQLz904wh+/SmA2jD8NnF7BLLoUgflCNxOeSPOWp8geP6nP/+VjWzZVip7rZ1ug==",
"cpu": [
"x64"
],
"dev": true,
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@lmdb/lmdb-linux-arm": {
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.8.5.tgz",
"integrity": "sha512-c0TGMbm2M55pwTDIfkDLB6BpIsgxV4PjYck2HiOX+cy/JWiBXz32lYbarPqejKs9Flm7YVAKSILUducU9g2RVg==",
"cpu": [
"arm"
],
"dev": true,
"optional": true,
"os": [
"linux"
]
},
"node_modules/@lmdb/lmdb-linux-arm64": {
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.8.5.tgz",
"integrity": "sha512-vtbZRHH5UDlL01TT5jB576Zox3+hdyogvpcbvVJlmU5PdL3c5V7cj1EODdh1CHPksRl+cws/58ugEHi8bcj4Ww==",
"cpu": [
"arm64"
],
"dev": true,
"optional": true,
"os": [
"linux"
]
},
"node_modules/@lmdb/lmdb-linux-x64": {
"version": "2.8.5",
"cpu": [
@ -4347,6 +4399,19 @@
"linux"
]
},
"node_modules/@lmdb/lmdb-win32-x64": {
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.8.5.tgz",
"integrity": "sha512-4wvrf5BgnR8RpogHhtpCPJMKBmvyZPhhUtEwMJbXh0ni2BucpfF07jlmyM11zRqQ2XIq6PbC2j7W7UCCcm1rRQ==",
"cpu": [
"x64"
],
"dev": true,
"optional": true,
"os": [
"win32"
]
},
"node_modules/@mischnic/json-sourcemap": {
"version": "0.1.1",
"dev": true,
@ -13275,14 +13340,15 @@
"license": "ISC"
},
"node_modules/follow-redirects": {
"version": "1.15.3",
"version": "1.15.4",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz",
"integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/RubenVerborgh"
}
],
"license": "MIT",
"engines": {
"node": ">=4.0"
},
@ -19871,9 +19937,10 @@
"license": "MIT"
},
"node_modules/msgpackr": {
"version": "1.9.9",
"version": "1.10.1",
"resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.10.1.tgz",
"integrity": "sha512-r5VRLv9qouXuLiIBrLpl2d5ZvPt8svdQTl5/vMvE4nzDMyEX4sgW5yWhuBBj5UmgwOTWj8CIdSXn5sAfsHAWIQ==",
"dev": true,
"license": "MIT",
"optionalDependencies": {
"msgpackr-extract": "^3.0.2"
}
@ -30103,11 +30170,46 @@
"@lezer/common": "^1.0.0"
}
},
"@lmdb/lmdb-darwin-arm64": {
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.8.5.tgz",
"integrity": "sha512-KPDeVScZgA1oq0CiPBcOa3kHIqU+pTOwRFDIhxvmf8CTNvqdZQYp5cCKW0bUk69VygB2PuTiINFWbY78aR2pQw==",
"dev": true,
"optional": true
},
"@lmdb/lmdb-darwin-x64": {
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.8.5.tgz",
"integrity": "sha512-w/sLhN4T7MW1nB3R/U8WK5BgQLz904wh+/SmA2jD8NnF7BLLoUgflCNxOeSPOWp8geP6nP/+VjWzZVip7rZ1ug==",
"dev": true,
"optional": true
},
"@lmdb/lmdb-linux-arm": {
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.8.5.tgz",
"integrity": "sha512-c0TGMbm2M55pwTDIfkDLB6BpIsgxV4PjYck2HiOX+cy/JWiBXz32lYbarPqejKs9Flm7YVAKSILUducU9g2RVg==",
"dev": true,
"optional": true
},
"@lmdb/lmdb-linux-arm64": {
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.8.5.tgz",
"integrity": "sha512-vtbZRHH5UDlL01TT5jB576Zox3+hdyogvpcbvVJlmU5PdL3c5V7cj1EODdh1CHPksRl+cws/58ugEHi8bcj4Ww==",
"dev": true,
"optional": true
},
"@lmdb/lmdb-linux-x64": {
"version": "2.8.5",
"dev": true,
"optional": true
},
"@lmdb/lmdb-win32-x64": {
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.8.5.tgz",
"integrity": "sha512-4wvrf5BgnR8RpogHhtpCPJMKBmvyZPhhUtEwMJbXh0ni2BucpfF07jlmyM11zRqQ2XIq6PbC2j7W7UCCcm1rRQ==",
"dev": true,
"optional": true
},
"@mischnic/json-sourcemap": {
"version": "0.1.1",
"dev": true,
@ -35532,7 +35634,9 @@
"version": "3.2.9"
},
"follow-redirects": {
"version": "1.15.3"
"version": "1.15.4",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz",
"integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw=="
},
"for-each": {
"version": "0.3.3",
@ -39403,7 +39507,9 @@
"version": "2.1.2"
},
"msgpackr": {
"version": "1.9.9",
"version": "1.10.1",
"resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.10.1.tgz",
"integrity": "sha512-r5VRLv9qouXuLiIBrLpl2d5ZvPt8svdQTl5/vMvE4nzDMyEX4sgW5yWhuBBj5UmgwOTWj8CIdSXn5sAfsHAWIQ==",
"dev": true,
"requires": {
"msgpackr-extract": "^3.0.2"

View File

@ -1,8 +1,8 @@
{
"name": "chitchatter",
"name": "remnantchat",
"version": "0.0.0",
"homepage": "https://chitchatter.im/",
"author": "Jeremy Kahn <jeremyckahn@gmail.com>",
"homepage": "https://remnant.chat",
"author": "Shiloh",
"license": "GPL-2.0-or-later",
"dependencies": {
"@emotion/react": "^11.10.0",

View File

@ -1 +1 @@
chitchatter.im
remnant.chat

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Chitchatter</title>
<title>RemnantChat</title>
<!-- Start Single Page Apps for GitHub Pages -->
<script type="text/javascript">
// Single Page Apps for GitHub Pages

View File

@ -1 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="500" zoomAndPan="magnify" viewBox="0 0 375 374.999991" height="500" preserveAspectRatio="xMidYMid meet" version="1.0"><defs><clipPath id="7de9461a18"><path d="M 71.738281 39.585938 L 303.476562 39.585938 L 303.476562 271.671875 L 71.738281 271.671875 Z M 71.738281 39.585938 " clip-rule="nonzero"/></clipPath><clipPath id="dd6ae01401"><path d="M 161.007812 254.363281 L 294.71875 254.363281 L 294.71875 335.777344 L 161.007812 335.777344 Z M 161.007812 254.363281 " clip-rule="nonzero"/></clipPath></defs><g clip-path="url(#7de9461a18)"><path fill="#1976d2" d="M 148.070312 249.8125 C 118.234375 232.945312 98.09375 200.933594 98.09375 164.207031 C 98.09375 109.9375 142.074219 65.945312 196.332031 65.945312 C 226.316406 65.945312 253.160156 79.390625 271.179688 100.574219 L 303.476562 100.574219 C 281.75 64.054688 241.898438 39.585938 196.332031 39.585938 C 127.519531 39.585938 71.738281 95.382812 71.738281 164.207031 C 71.738281 209.835938 96.257812 249.730469 132.828125 271.445312 L 148.070312 249.8125 " fill-opacity="1" fill-rule="nonzero"/></g><g clip-path="url(#dd6ae01401)"><path fill="#1976d2" d="M 225.441406 258.078125 C 224.351562 258.417969 223.253906 258.738281 222.152344 259.039062 L 161.152344 283.789062 C 165.308594 285.011719 169.554688 286.027344 173.882812 286.8125 L 294.566406 335.777344 L 237.386719 254.613281 C 233.496094 256.03125 229.507812 257.195312 225.441406 258.078125 " fill-opacity="1" fill-rule="nonzero"/></g><path fill="#d9d9d9" d="M 205.59375 231.441406 C 241.128906 231.441406 269.9375 202.625 269.9375 167.078125 C 269.9375 131.535156 241.128906 102.71875 205.59375 102.71875 C 185.953125 102.71875 168.371094 111.523438 156.566406 125.398438 L 135.414062 125.398438 C 149.644531 101.480469 175.746094 85.453125 205.59375 85.453125 C 250.664062 85.453125 287.199219 122 287.199219 167.078125 C 287.199219 207.140625 258.347656 240.460938 220.296875 247.382812 L 141.25 279.453125 L 179.089844 225.742188 C 187.171875 229.402344 196.144531 231.441406 205.59375 231.441406 " fill-opacity="1" fill-rule="nonzero"/><path fill="#1976d2" d="M 181.148438 164.210938 C 181.148438 170.050781 176.414062 174.789062 170.574219 174.789062 C 164.734375 174.789062 160 170.050781 160 164.210938 C 160 158.367188 164.734375 153.632812 170.574219 153.632812 C 176.414062 153.632812 181.148438 158.367188 181.148438 164.210938 " fill-opacity="1" fill-rule="nonzero"/><path fill="#1976d2" d="M 212.996094 164.210938 C 212.996094 170.050781 208.261719 174.789062 202.421875 174.789062 C 196.578125 174.789062 191.84375 170.050781 191.84375 164.210938 C 191.84375 158.367188 196.578125 153.632812 202.421875 153.632812 C 208.261719 153.632812 212.996094 158.367188 212.996094 164.210938 " fill-opacity="1" fill-rule="nonzero"/><path fill="#1976d2" d="M 244.84375 164.210938 C 244.84375 170.050781 240.105469 174.789062 234.265625 174.789062 C 228.425781 174.789062 223.691406 170.050781 223.691406 164.210938 C 223.691406 158.367188 228.425781 153.632812 234.265625 153.632812 C 240.105469 153.632812 244.84375 158.367188 244.84375 164.210938 " fill-opacity="1" fill-rule="nonzero"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="230.66" height="230.66">
<g stroke="#fff" transform="translate(-35.2 -24.467)">
<circle cx="135.53" cy="124.796" r="92.163" fill="none" stroke-width="16.334"/>
<g stroke-width="10">
<path fill="#00bcf3" d="m104.967 121.955 61.125 61.434m0-61.434-61.125 61.434"/>
<path fill="none" d="M135.448 191.103V69.043c-.033-6.933 25.967-7.86 26.01 0v22.159"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 442 B

View File

@ -1,266 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="472.85938"
zoomAndPan="magnify"
viewBox="0 0 354.64453 128.97656"
height="171.96875"
preserveAspectRatio="xMidYMid"
version="1.0"
id="svg110"
sodipodi:docname="logo.svg"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview112"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="1.3350176"
inkscape:cx="234.45384"
inkscape:cy="86.141186"
inkscape:window-width="1728"
inkscape:window-height="1043"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg110" />
<defs
id="defs10">
<g
id="g2" />
<clipPath
id="3bacd8e954">
<path
d="M 11.863281,122.92969 H 113.10938 v 101.0625 H 11.863281 Z m 0,0"
clip-rule="nonzero"
id="path4" />
</clipPath>
<clipPath
id="abfee98d57">
<path
d="m 50.867188,216.45703 h 58.414062 v 35.44922 H 50.867188 Z m 0,0"
clip-rule="nonzero"
id="path7" />
</clipPath>
</defs>
<g
clip-path="url(#3bacd8e954)"
id="g14"
transform="translate(-11.863281,-122.92969)">
<path
fill="#1976d2"
d="M 45.214844,214.47266 C 32.179688,207.12891 23.378906,193.1875 23.378906,177.19531 c 0,-23.6289 19.214844,-42.78906 42.917969,-42.78906 13.101563,0 24.828125,5.85547 32.703125,15.08203 h 14.10938 c -9.49219,-15.90234 -26.902349,-26.55859 -46.812505,-26.55859 -30.0625,0 -54.433594,24.29687 -54.433594,54.26562 0,19.8711 10.710938,37.24219 26.691407,46.69922 l 6.660156,-9.42187"
fill-opacity="1"
fill-rule="nonzero"
id="path12" />
</g>
<g
clip-path="url(#abfee98d57)"
id="g18"
transform="translate(-11.863281,-122.92969)">
<path
fill="#1976d2"
d="m 79.015625,218.07422 c -0.476563,0.14844 -0.953125,0.28906 -1.4375,0.41797 l -26.652344,10.77734 c 1.820313,0.53125 3.675781,0.97266 5.566407,1.31641 l 52.726562,21.32422 -24.984375,-35.34375 c -1.699219,0.61718 -3.441406,1.12109 -5.21875,1.50781"
fill-opacity="1"
fill-rule="nonzero"
id="path16" />
</g>
<path
fill="#d9d9d9"
d="m 58.480469,83.542972 c 15.527344,0 28.113281,-12.54688 28.113281,-28.02344 0,-15.48047 -12.585937,-28.02735 -28.113281,-28.02735 -8.582031,0 -16.261719,3.83204 -21.417969,9.875 h -9.242187 c 6.21875,-10.41406 17.621094,-17.39453 30.660156,-17.39453 19.691406,0 35.65234,15.91407 35.65234,35.54688 0,17.4414 -12.601559,31.95312 -29.226559,34.96875 L 30.371094,104.45312 46.902344,81.062502 c 3.53125,1.59375 7.449219,2.48047 11.578125,2.48047"
fill-opacity="1"
fill-rule="nonzero"
id="path20" />
<path
fill="#1976d2"
d="m 47.800781,54.269532 c 0,2.54297 -2.066406,4.60547 -4.621093,4.60547 -2.550781,0 -4.617188,-2.0625 -4.617188,-4.60547 0,-2.54688 2.066407,-4.60938 4.617188,-4.60938 2.554687,0 4.621093,2.0625 4.621093,4.60938"
fill-opacity="1"
fill-rule="nonzero"
id="path22" />
<path
fill="#1976d2"
d="m 61.714844,54.269532 c 0,2.54297 -2.066406,4.60547 -4.621094,4.60547 -2.550781,0 -4.617187,-2.0625 -4.617187,-4.60547 0,-2.54688 2.066406,-4.60938 4.617187,-4.60938 2.554688,0 4.621094,2.0625 4.621094,4.60938"
fill-opacity="1"
fill-rule="nonzero"
id="path24" />
<path
fill="#1976d2"
d="m 75.628907,54.269532 c 0,2.54297 -2.070313,4.60547 -4.621094,4.60547 -2.550782,0 -4.621094,-2.0625 -4.621094,-4.60547 0,-2.54688 2.070312,-4.60938 4.621094,-4.60938 2.550781,0 4.621094,2.0625 4.621094,4.60938"
fill-opacity="1"
fill-rule="nonzero"
id="path26" />
<path
fill="#1976d2"
d="m 104.62891,40.363282 h 250.01562 v 48.73828 H 104.62891 v -48.73828"
fill-opacity="1"
fill-rule="nonzero"
id="path28" />
<g
fill="#ffffff"
fill-opacity="1"
id="g36"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(124.78224,199.77909)"
id="g34">
<g
id="g32">
<path
d="m 2.4375,0 0.332031,-24.335938 h 4.507813 v 11.015626 h 9.480468 v -11.015626 h 4.542969 L 21.601562,0 h -4.84375 V -7.746094 H 7.277344 V 0 Z m 0,0"
id="path30" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g44"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(148.85163,199.77909)"
id="g42">
<g
id="g40">
<path
d="m 2.4375,0 0.5,-24.335938 H 7.144531 L 7.445312,0 Z m 0,0"
id="path38" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g52"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(158.7331,199.77909)"
id="g50">
<g
id="g48">
<path
d="m 2.4375,-20.464844 v -3.871094 h 20.796875 v 3.90625 L 15.054688,-20.765625 15.65625,0 h -5.640625 l 0.601563,-20.765625 z m 0,0"
id="path46" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g60"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(184.40489,199.77909)"
id="g58">
<g
id="g56">
<path
d="m 22.300781,-18.027344 c -3.707031,-2.539062 -5.742187,-2.90625 -8.277343,-2.90625 -4.910157,0 -7.046876,3.039063 -7.046876,8.78125 0.066407,4.972656 2.503907,6.609375 7.546876,6.609375 2.535156,0 5.039062,-1.199219 7.777343,-3.703125 v 7.175782 c -2.46875,1.667968 -5.074219,2.539062 -7.945312,2.539062 -7.378907,0 -11.917969,-4.875 -11.917969,-12.621094 0,-7.710937 4.039062,-12.285156 11.417969,-12.621094 2.835937,-0.132812 5.007812,0.03516 8.445312,1.703126 z m 0,0"
id="path54" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g68"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(209.14196,199.77909)"
id="g66">
<g
id="g64">
<path
d="m 2.4375,0 0.332031,-24.335938 h 4.507813 v 11.015626 h 9.480468 v -11.015626 h 4.542969 L 21.601562,0 h -4.84375 V -7.746094 H 7.277344 V 0 Z m 0,0"
id="path62" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g76"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(233.21136,199.77909)"
id="g74">
<g
id="g72">
<path
d="m 17.359375,-8.679688 -3.4375,-10.183593 c -0.265625,0.867187 -0.566406,1.703125 -0.835937,2.539062 -0.265626,0.832031 -0.535157,1.667969 -0.800782,2.46875 -0.300781,0.835938 -0.566406,1.671875 -0.867187,2.539063 -0.265625,0.867187 -0.566407,1.734375 -0.867188,2.636718 z M 2.4375,0 12.050781,-24.335938 h 3.773438 L 25.4375,0 H 19.53125 L 18.664062,-3.773438 H 9.179688 L 8.011719,0 Z m 0,0"
id="path70" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g84"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(261.08647,199.77909)"
id="g82">
<g
id="g80">
<path
d="m 2.4375,-20.464844 v -3.871094 h 20.796875 v 3.90625 L 15.054688,-20.765625 15.65625,0 h -5.640625 l 0.601563,-20.765625 z m 0,0"
id="path78" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g92"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(286.75826,199.77909)"
id="g90">
<g
id="g88">
<path
d="m 2.4375,-20.464844 v -3.871094 h 20.796875 v 3.90625 L 15.054688,-20.765625 15.65625,0 h -5.640625 l 0.601563,-20.765625 z m 0,0"
id="path86" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g100"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(312.43006,199.77909)"
id="g98">
<g
id="g96">
<path
d="m 2.4375,0 v -24.335938 h 15.855469 v 3.871094 H 6.808594 v 5.609375 h 10.984375 v 3.839844 H 6.808594 v 4.972656 H 18.5625 V 0 Z m 0,0"
id="path94" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g108"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(333.42821,199.77909)"
id="g106">
<g
id="g104">
<path
d="m 18.128906,-17.058594 c 0,2.636719 -1.003906,4.574219 -2.773437,5.640625 1.101562,0.835938 2.070312,2.269531 3.074219,4.207031 0.53125,1.035157 1.167968,2.335938 1.835937,3.640626 0.632813,1.265624 1.300781,2.535156 1.800781,3.570312 h -5.875 l -2.46875,-6.308594 v 0.03125 C 12.320312,-9.179688 11.316406,-9.75 9.113281,-9.75 H 7.410156 V 0 H 2.4375 v -24.335938 h 7.679688 c 2.535156,0 4.503906,0.597657 5.875,1.800782 1.402343,1.203125 2.136718,3.039062 2.136718,5.476562 z m -11.019531,-4.40625 v 7.277344 h 3.339844 c 2.101562,0 4.238281,-1.4375 4.238281,-2.871094 0,-3.472656 -2.167969,-4.40625 -4.238281,-4.40625 z m 0,0"
id="path102" />
</g>
<svg xmlns="http://www.w3.org/2000/svg" width="230.66" height="230.66">
<g stroke="#fff" transform="translate(-35.2 -24.467)">
<circle cx="135.53" cy="124.796" r="92.163" fill="none" stroke-width="16.334"/>
<g stroke-width="10">
<path fill="#00bcf3" d="m104.967 121.955 61.125 61.434m0-61.434-61.125 61.434"/>
<path fill="none" d="M135.448 191.103V69.043c-.033-6.933 25.967-7.86 26.01 0v22.159"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -1,6 +1,6 @@
{
"short_name": "Chitchatter",
"name": "Chitchatter",
"short_name": "RemnantChat",
"name": "RemnantChat",
"description": "This is a communication tool that is free, open source, and designed for simplicity and security. All communication between you and your online peers is encrypted. There is no trace of your conversation once you leave.",
"icons": [
{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

View File

@ -8,7 +8,7 @@ import { QueryParamKeys } from '../src/models/shell'
import { isColorMode, UserSettings } from '../src/models/settings'
import { iframeFeatureAllowList } from '../src/config/iframeFeatureAllowList'
export const defaultRoot = 'https://chitchatter.im/'
export const defaultRoot = 'https://remnant.chat/'
// NOTE: This is a subset of standard iframe attributes:
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attributes
@ -103,7 +103,7 @@ class ChatEmbed extends HTMLElement {
window.addEventListener('message', this.handleConfigRequestedMessage)
this.configRequestExpirationTimout = setTimeout(() => {
console.error(`[chitchatter-sdk] configuration was not sent successfully`)
console.error(`[remnantchat-sdk] configuration was not sent successfully`)
this.stopListeningForConfigRequest()
}, configRequestTimeout)
}

View File

@ -78,8 +78,8 @@ const getConfigFromSdk = () => {
const Bootstrap = ({
persistedStorage: persistedStorageProp = localforage.createInstance({
name: 'chitchatter',
description: 'Persisted settings data for chitchatter',
name: 'remnantchat',
description: 'Persisted settings data for remnantchat',
}),
initialUserSettings,
serializationService = serializationServiceInstance,
@ -152,7 +152,7 @@ const Bootstrap = ({
}
} catch (e) {
console.error(
'Chitchatter configuration from parent frame could not be loaded'
'RemnantChat configuration from parent frame could not be loaded'
)
}
}

View File

@ -48,7 +48,7 @@ const Init = ({ getUuid = uuid, ...props }: InitProps) => {
} catch (e) {
console.error(e)
setErrorMessage(
'Chitchatter was unable to boot up. Please check the browser console.'
'RemnantChat was unable to boot up. Please check the browser console.'
)
}
})()

View File

@ -34,7 +34,7 @@ export const PasswordPrompt = ({
<DialogContent>
<DialogContentText sx={{ mb: 2 }}>
You will only be able to connect to room peers that enter the same
password. Due to the decentralized nature of Chitchatter, it is
password. Due to the decentralized nature of RemnantChat, it is
impossible to know if the password you enter will match the password
entered by other peers.
</DialogContentText>

View File

@ -37,7 +37,7 @@ export const EnvironmentUnsupportedDialog = () => {
</DialogTitle>
<DialogContent>
<DialogContentText id="alert-dialog-description">
Chitchatter is unable to start up. The following issues were detected:
RemnantChat is unable to start up. The following issues were detected:
</DialogContentText>
<Typography
component="ul"

View File

@ -330,7 +330,7 @@ export const Shell = ({ appNeedsUpdate, children, userPeerId }: ShellProps) => {
<>
<UpgradeDialog appNeedsUpdate={appNeedsUpdate} />
<Box
className="Chitchatter"
className="RemnantChat"
sx={{
height: '100vh',
display: 'flex',
@ -408,10 +408,10 @@ export const Shell = ({ appNeedsUpdate, children, userPeerId }: ShellProps) => {
>
This conversation is powered by{' '}
<Link
href="https://github.com/jeremyckahn/chitchatter"
href="https://githaven.org/shiloh/remnantchat"
target="_blank"
>
Chitchatter
RemnantChat
</Link>
</Typography>
) : null}

View File

@ -36,7 +36,7 @@ export const UpgradeDialog = ({ appNeedsUpdate }: UpgradeDialogProps) => {
</DialogTitle>
<DialogContent>
<DialogContentText id="alert-dialog-description">
In order to function properly, Chitchatter needs to be updated. The
In order to function properly, RemnantChat needs to be updated. The
update has already been installed in the background. All you need to
do is reload the page or click "Refresh" below.
</DialogContentText>

View File

@ -9,5 +9,5 @@ export enum routes {
}
export const homepageUrl = new URL(
process.env.REACT_APP_HOMEPAGE ?? 'https://chitchatter.im/'
process.env.REACT_APP_HOMEPAGE ?? 'https://remnant.chat/'
)

View File

@ -7,7 +7,7 @@ export const rtcConfig: RTCConfiguration = {
// connection cannot be made. Feel free to change them as you'd like. If you
// would like to disable relay servers entirely, remove the `iceServers`
// property from the rtcConfig object. IF YOU DISABLE RELAY SERVERS,
// CHITCHATTER PEERS MAY NOT BE ABLE TO CONNECT DEPENDING ON HOW THEY ARE
// REMNANTCHAT PEERS MAY NOT BE ABLE TO CONNECT DEPENDING ON HOW THEY ARE
// CONNECTED TO THE INTERNET.
iceServers: [
{

View File

@ -1,6 +1,6 @@
export const streamSaverUrl =
process.env.REACT_APP_STREAMSAVER_URL ??
// If you would like to host your own Chitchatter instance with an
// If you would like to host your own RemnantChat instance with an
// alternative StreamSaver fork to facilitate file sharing, change this
// string to its respective .mitm.html URL.
//

View File

@ -1,5 +1,5 @@
let trackerUrls: string[] | undefined = [
// If you would like to host your own Chitchatter instance with alternative
// If you would like to host your own RemnantChat instance with alternative
// WebTorrent trackers to connect peers, add them to this array. This array
// gets provided to Trystero as the `trackerUrls` configuration option:
// https://github.com/dmotz/trystero#joinroomconfig-namespace
@ -10,7 +10,7 @@ let trackerUrls: string[] | undefined = [
// If a tracker URL has been provided via the REACT_APP_TRACKER_URL environment
// variable, prioritize using it. This is mainly relevant for local development
// when using the `npm run dev` script. If you are hosting your own Chitchatter
// when using the `npm run dev` script. If you are hosting your own RemnantChat
// instance, consider populating the trackerUrls above instead.
if (process.env.REACT_APP_TRACKER_URL) {
trackerUrls.unshift(process.env.REACT_APP_TRACKER_URL)

12
src/img/githaven.svg Normal file
View File

@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" width="111.116" height="113.192">
<g transform="translate(-17.69 -20.226)">
<path fill="#abb2bf" d="M43.197 44.234C17.834 36.212.77 83.012 44.97 81.708l63.995-1.066c31.18-3.757 24.112-54.732-10.714-46.395-4.372 1.047-4.163-10.459-18.76-13.595-10.377-2.23-31.074 4.1-36.294 23.582Z"/>
<ellipse cx="60.447" cy="53.457" fill="#fff" rx="4.576" ry="6.554"/>
<ellipse cx="88.011" cy="53.81" fill="#fff" rx="4.576" ry="6.554"/>
<path stroke="#98c379" stroke-linecap="round" stroke-linejoin="round" stroke-width="5" d="m74.506 85.27-.55 32.67"/>
<path fill="none" stroke="#98c379" stroke-linecap="round" stroke-linejoin="round" stroke-width="5" d="M56.42 86.168c.824 24.124-3.143 19.799-16.234 19.568m51.48-20.137c-.824 24.124 3.143 19.799 16.234 19.568"/>
<ellipse cx="34.197" cy="105.935" fill="none" stroke="#98c379" stroke-linecap="round" stroke-linejoin="round" stroke-width="5" rx="5.831" ry="6.122"/>
<ellipse cx="74.147" cy="124.797" fill="none" stroke="#98c379" stroke-linecap="round" stroke-linejoin="round" stroke-width="5" rx="5.831" ry="6.122"/>
<ellipse cx="115.998" cy="104.792" fill="none" stroke="#98c379" stroke-linecap="round" stroke-linejoin="round" stroke-width="5" rx="5.831" ry="6.122"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1,238 +1,9 @@
<svg
width="100%"
zoomAndPan="magnify"
viewBox="0 0 354.64453 128.97656"
height="unset"
preserveAspectRatio="xMidYMid"
version="1.0"
id="svg110">
<defs
id="defs10">
<clipPath
id="3bacd8e954">
<path
d="M 11.863281,122.92969 H 113.10938 v 101.0625 H 11.863281 Z m 0,0"
clip-rule="nonzero"
id="path4" />
</clipPath>
<clipPath
id="abfee98d57">
<path
d="m 50.867188,216.45703 h 58.414062 v 35.44922 H 50.867188 Z m 0,0"
clip-rule="nonzero"
id="path7" />
</clipPath>
</defs>
<g
clip-path="url(#3bacd8e954)"
id="g14"
transform="translate(-11.863281,-122.92969)">
<path
fill="#1976d2"
d="M 45.214844,214.47266 C 32.179688,207.12891 23.378906,193.1875 23.378906,177.19531 c 0,-23.6289 19.214844,-42.78906 42.917969,-42.78906 13.101563,0 24.828125,5.85547 32.703125,15.08203 h 14.10938 c -9.49219,-15.90234 -26.902349,-26.55859 -46.812505,-26.55859 -30.0625,0 -54.433594,24.29687 -54.433594,54.26562 0,19.8711 10.710938,37.24219 26.691407,46.69922 l 6.660156,-9.42187"
fill-opacity="1"
fill-rule="nonzero"
id="path12" />
</g>
<g
clip-path="url(#abfee98d57)"
id="g18"
transform="translate(-11.863281,-122.92969)">
<path
fill="#1976d2"
d="m 79.015625,218.07422 c -0.476563,0.14844 -0.953125,0.28906 -1.4375,0.41797 l -26.652344,10.77734 c 1.820313,0.53125 3.675781,0.97266 5.566407,1.31641 l 52.726562,21.32422 -24.984375,-35.34375 c -1.699219,0.61718 -3.441406,1.12109 -5.21875,1.50781"
fill-opacity="1"
fill-rule="nonzero"
id="path16" />
</g>
<path
fill="#d9d9d9"
d="m 58.480469,83.542972 c 15.527344,0 28.113281,-12.54688 28.113281,-28.02344 0,-15.48047 -12.585937,-28.02735 -28.113281,-28.02735 -8.582031,0 -16.261719,3.83204 -21.417969,9.875 h -9.242187 c 6.21875,-10.41406 17.621094,-17.39453 30.660156,-17.39453 19.691406,0 35.65234,15.91407 35.65234,35.54688 0,17.4414 -12.601559,31.95312 -29.226559,34.96875 L 30.371094,104.45312 46.902344,81.062502 c 3.53125,1.59375 7.449219,2.48047 11.578125,2.48047"
fill-opacity="1"
fill-rule="nonzero"
id="path20" />
<path
fill="#1976d2"
d="m 47.800781,54.269532 c 0,2.54297 -2.066406,4.60547 -4.621093,4.60547 -2.550781,0 -4.617188,-2.0625 -4.617188,-4.60547 0,-2.54688 2.066407,-4.60938 4.617188,-4.60938 2.554687,0 4.621093,2.0625 4.621093,4.60938"
fill-opacity="1"
fill-rule="nonzero"
id="path22" />
<path
fill="#1976d2"
d="m 61.714844,54.269532 c 0,2.54297 -2.066406,4.60547 -4.621094,4.60547 -2.550781,0 -4.617187,-2.0625 -4.617187,-4.60547 0,-2.54688 2.066406,-4.60938 4.617187,-4.60938 2.554688,0 4.621094,2.0625 4.621094,4.60938"
fill-opacity="1"
fill-rule="nonzero"
id="path24" />
<path
fill="#1976d2"
d="m 75.628907,54.269532 c 0,2.54297 -2.070313,4.60547 -4.621094,4.60547 -2.550782,0 -4.621094,-2.0625 -4.621094,-4.60547 0,-2.54688 2.070312,-4.60938 4.621094,-4.60938 2.550781,0 4.621094,2.0625 4.621094,4.60938"
fill-opacity="1"
fill-rule="nonzero"
id="path26" />
<path
fill="#1976d2"
d="m 104.62891,40.363282 h 250.01562 v 48.73828 H 104.62891 v -48.73828"
fill-opacity="1"
fill-rule="nonzero"
id="path28" />
<g
fill="#ffffff"
fill-opacity="1"
id="g36"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(124.78224,199.77909)"
id="g34">
<g
id="g32">
<path
d="m 2.4375,0 0.332031,-24.335938 h 4.507813 v 11.015626 h 9.480468 v -11.015626 h 4.542969 L 21.601562,0 h -4.84375 V -7.746094 H 7.277344 V 0 Z m 0,0"
id="path30" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g44"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(148.85163,199.77909)"
id="g42">
<g
id="g40">
<path
d="m 2.4375,0 0.5,-24.335938 H 7.144531 L 7.445312,0 Z m 0,0"
id="path38" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g52"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(158.7331,199.77909)"
id="g50">
<g
id="g48">
<path
d="m 2.4375,-20.464844 v -3.871094 h 20.796875 v 3.90625 L 15.054688,-20.765625 15.65625,0 h -5.640625 l 0.601563,-20.765625 z m 0,0"
id="path46" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g60"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(184.40489,199.77909)"
id="g58">
<g
id="g56">
<path
d="m 22.300781,-18.027344 c -3.707031,-2.539062 -5.742187,-2.90625 -8.277343,-2.90625 -4.910157,0 -7.046876,3.039063 -7.046876,8.78125 0.066407,4.972656 2.503907,6.609375 7.546876,6.609375 2.535156,0 5.039062,-1.199219 7.777343,-3.703125 v 7.175782 c -2.46875,1.667968 -5.074219,2.539062 -7.945312,2.539062 -7.378907,0 -11.917969,-4.875 -11.917969,-12.621094 0,-7.710937 4.039062,-12.285156 11.417969,-12.621094 2.835937,-0.132812 5.007812,0.03516 8.445312,1.703126 z m 0,0"
id="path54" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g68"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(209.14196,199.77909)"
id="g66">
<g
id="g64">
<path
d="m 2.4375,0 0.332031,-24.335938 h 4.507813 v 11.015626 h 9.480468 v -11.015626 h 4.542969 L 21.601562,0 h -4.84375 V -7.746094 H 7.277344 V 0 Z m 0,0"
id="path62" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g76"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(233.21136,199.77909)"
id="g74">
<g
id="g72">
<path
d="m 17.359375,-8.679688 -3.4375,-10.183593 c -0.265625,0.867187 -0.566406,1.703125 -0.835937,2.539062 -0.265626,0.832031 -0.535157,1.667969 -0.800782,2.46875 -0.300781,0.835938 -0.566406,1.671875 -0.867187,2.539063 -0.265625,0.867187 -0.566407,1.734375 -0.867188,2.636718 z M 2.4375,0 12.050781,-24.335938 h 3.773438 L 25.4375,0 H 19.53125 L 18.664062,-3.773438 H 9.179688 L 8.011719,0 Z m 0,0"
id="path70" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g84"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(261.08647,199.77909)"
id="g82">
<g
id="g80">
<path
d="m 2.4375,-20.464844 v -3.871094 h 20.796875 v 3.90625 L 15.054688,-20.765625 15.65625,0 h -5.640625 l 0.601563,-20.765625 z m 0,0"
id="path78" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g92"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(286.75826,199.77909)"
id="g90">
<g
id="g88">
<path
d="m 2.4375,-20.464844 v -3.871094 h 20.796875 v 3.90625 L 15.054688,-20.765625 15.65625,0 h -5.640625 l 0.601563,-20.765625 z m 0,0"
id="path86" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g100"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(312.43006,199.77909)"
id="g98">
<g
id="g96">
<path
d="m 2.4375,0 v -24.335938 h 15.855469 v 3.871094 H 6.808594 v 5.609375 h 10.984375 v 3.839844 H 6.808594 v 4.972656 H 18.5625 V 0 Z m 0,0"
id="path94" />
</g>
</g>
</g>
<g
fill="#ffffff"
fill-opacity="1"
id="g108"
transform="translate(-11.863281,-122.92969)">
<g
transform="translate(333.42821,199.77909)"
id="g106">
<g
id="g104">
<path
d="m 18.128906,-17.058594 c 0,2.636719 -1.003906,4.574219 -2.773437,5.640625 1.101562,0.835938 2.070312,2.269531 3.074219,4.207031 0.53125,1.035157 1.167968,2.335938 1.835937,3.640626 0.632813,1.265624 1.300781,2.535156 1.800781,3.570312 h -5.875 l -2.46875,-6.308594 v 0.03125 C 12.320312,-9.179688 11.316406,-9.75 9.113281,-9.75 H 7.410156 V 0 H 2.4375 v -24.335938 h 7.679688 c 2.535156,0 4.503906,0.597657 5.875,1.800782 1.402343,1.203125 2.136718,3.039062 2.136718,5.476562 z m -11.019531,-4.40625 v 7.277344 h 3.339844 c 2.101562,0 4.238281,-1.4375 4.238281,-2.871094 0,-3.472656 -2.167969,-4.40625 -4.238281,-4.40625 z m 0,0"
id="path102" />
</g>
<svg xmlns="http://www.w3.org/2000/svg" width="230.66" height="230.66">
<g stroke="#fff" transform="translate(-35.2 -24.467)">
<circle cx="135.53" cy="124.796" r="92.163" fill="none" stroke-width="16.334"/>
<g stroke-width="10">
<path fill="#00bcf3" d="m104.967 121.955 61.125 61.434m0-61.434-61.125 61.434"/>
<path fill="none" d="M135.448 191.103V69.043c-.033-6.933 25.967-7.86 26.01 0v22.159"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 442 B

View File

@ -31,7 +31,7 @@ export const About = () => {
{`
### User Guide
Chitchatter is a communication tool designed to make secure and private communication accessible to all. Please [see the README](https://github.com/jeremyckahn/chitchatter/blob/develop/README.md) for full project documentation.
RemnantChat is a communication tool designed to make secure and private communication accessible to all. It is a derived work from the platform ChitChatter [see the upstream project](https://github.com/jeremyckahn/chitchatter/blob/develop/README.md). For RemnantChat project documentation [see the full README.](https://githaven.org/shiloh/remnantchat/README.md)
#### Chat rooms
@ -43,17 +43,17 @@ To connect to others, share the room URL with a secure tool such as [Burner Note
##### Peer verification
When you connect with a peer, Chitchatter automatically attempts to use [public-key cryptography](https://en.wikipedia.org/wiki/Public-key_cryptography) to verify them. You can see everyone's public keys in the peer list. Feel free to share your public key with others (it is not sensitive information) so that they can uniquely identify you.
When you connect with a peer, RemnantChat automatically attempts to use [public-key cryptography](https://en.wikipedia.org/wiki/Public-key_cryptography) to verify them. You can see everyone's public keys in the peer list. Feel free to share your public key with others (it is not sensitive information) so that they can uniquely identify you.
All public and private keys are generated locally. Your private key is never sent to any peer or server.
##### Community rooms
There is [a public list of community rooms](https://github.com/jeremyckahn/chitchatter/wiki/Chitchatter-Community-Rooms) that you can join to discuss various topics.
There is [a public list of community rooms](/) that you can join to discuss various topics on the Home page.
##### Conversation backfilling
Conversation transcripts are erased from local memory as soon as you close the page or navigate away from the room. Conversations are only ever held in volatile memory and never persisted to any disk by Chitchatter.
Conversation transcripts are erased from local memory as soon as you close the page or navigate away from the room. Conversations are only ever held in volatile memory and never persisted to any disk by RemnantChat.
When a peer joins a **public** room with participants already in it, the new peer will automatically request the transcript of the conversation that has already taken place from the other peers. Once all peers leave the room, the conversation is completely erased. Peers joining a **private** room will not get the conversation transcript backfilled.

View File

@ -27,10 +27,10 @@ The words of which the initial letter is capitalized have meanings defined under
For the purposes of this Disclaimer:
* **Project** (referred to as either "the Project", "We", "Us" or "Our" in this Disclaimer) refers to Chitchatter.
* **Project** (referred to as either "the Project", "We", "Us" or "Our" in this Disclaimer) refers to RemnantChat.
* **Service** refers to the Website.
* **You** means the individual accessing the Service, or the company, or other legal entity on behalf of which such individual is accessing or using the Service, as applicable.
* **Website** refers to Chitchatter, accessible from [https://chitchatter.im](https://chitchatter.im)
* **Website** refers to RemnantChat, accessible from [https://Remnant.Chat](https://Remnant.Chat)
### Disclaimer

View File

@ -51,7 +51,7 @@ export const EmbedCodeDialog = ({
return (
<Dialog open={showEmbedCode} onClose={handleEmbedCodeWindowClose}>
<DialogTitle>Embedding Chitchatter</DialogTitle>
<DialogTitle>Embedding RemnantChat</DialogTitle>
<DialogContent>
<DialogContentText
sx={{
@ -97,10 +97,10 @@ export const EmbedCodeDialog = ({
>
As an alternative to using an <code>iframe</code>, you can use the{' '}
<Link
href="https://github.com/jeremyckahn/chitchatter#SDK"
href="https://githaven.org/shiloh/remnantchat#SDK"
target="_blank"
>
Chitchatter SDK
RemnantChat SDK
</Link>{' '}
to embed a chat room as a{' '}
<Link

View File

@ -8,7 +8,7 @@ import TextField from '@mui/material/TextField'
import Divider from '@mui/material/Divider'
import IconButton from '@mui/material/IconButton'
import MuiLink from '@mui/material/Link'
import GitHubIcon from '@mui/icons-material/GitHub'
import Cached from '@mui/icons-material/Cached'
import { v4 as uuid } from 'uuid'
@ -31,7 +31,7 @@ export function Home({ userId }: HomeProps) {
const navigate = useNavigate()
useEffect(() => {
setTitle('Chitchatter')
setTitle('RemnantChat')
}, [setTitle])
const handleRoomNameChange = (event: React.ChangeEvent<HTMLInputElement>) => {
@ -109,7 +109,7 @@ export function Home({ userId }: HomeProps) {
}}
disabled={!isRoomNameValid}
>
Join public room
Create public room
</Button>
<Button
variant="contained"
@ -120,7 +120,7 @@ export function Home({ userId }: HomeProps) {
}}
disabled={!isRoomNameValid}
>
Join private room
Create private room
</Button>
<Button
variant="contained"
@ -140,48 +140,39 @@ export function Home({ userId }: HomeProps) {
<Divider sx={{ my: 2 }} />
<Box className="max-w-3xl text-center mx-auto px-4">
<Typography variant="body1">
This is a free communication tool that is designed for simplicity,
privacy, and security. All interaction between you and your online
peers is encrypted. There is no record of your conversation once you
all leave.
The secure communication tool that is designed for simplicity,
privacy. All interaction between you and your online peers is
encrypted. Conversation records are dumped once everyone leaves.
</Typography>
<Box className="max-w-3xl text-center mx-auto my-4 px-4">
{' '}
<Typography variant="body1">Romans 11:5</Typography>
</Box>
</Box>
<Box
sx={{
mx: 'auto',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
}}
>
<Divider sx={{ my: 2 }} />
<Box className="max-w-3xl text-center mx-auto my-4 px-4">
<Typography variant="body1">Official Public Rooms to Join:</Typography>
<MuiLink
href="https://github.com/jeremyckahn/chitchatter"
href="/public/general"
target="_blank"
sx={theme => ({
color: theme.palette.text.primary,
})}
>
<IconButton
size="large"
edge="start"
color="inherit"
aria-label="Open menu"
>
<GitHubIcon sx={{ fontSize: '2em' }} />
</IconButton>
<Typography variant="body1">&#x2022; General Chat</Typography>
</MuiLink>
</Box>
<Typography variant="body1" sx={{ textAlign: 'center' }}>
Licensed under{' '}
<MuiLink
href="https://github.com/jeremyckahn/chitchatter/blob/develop/LICENSE"
href="https://githaven.org/Shiloh/remnantchat/src/branch/main/LICENSE"
target="_blank"
>
GPL v2
</MuiLink>
. Please{' '}
<MuiLink
href="https://github.com/jeremyckahn/chitchatter/blob/develop/README.md"
href="https://githaven.org/Shiloh/remnantchat/src/branch/main/README.md"
target="_blank"
>
read the docs

View File

@ -198,7 +198,7 @@ export const Settings = ({ userId }: SettingsProps) => {
mb: 2,
}}
>
Export your Chitchatter profile data so that it can be moved to another
Export your RemnantChat profile data so that it can be moved to another
browser or device.{' '}
<strong>Be careful not to share the exported data with anyone</strong>.
It contains your unique verification keys.
@ -228,7 +228,7 @@ export const Settings = ({ userId }: SettingsProps) => {
mb: 2,
}}
>
Import your Chitchatter profile that was previously exported from
Import your RemnantChat profile that was previously exported from
another browser or device.
</Typography>
<FileReaderInput
@ -277,7 +277,7 @@ export const Settings = ({ userId }: SettingsProps) => {
</PeerNameDisplay>
</strong>{' '}
to a new, randomly-assigned name. It will also reset all of your saved
Chitchatter application preferences.
RemnantChat application preferences.
</Typography>
<Button
variant="outlined"
@ -300,7 +300,7 @@ export const Settings = ({ userId }: SettingsProps) => {
mb: 2,
}}
>
Chitchatter only stores user preferences and never message content of
RemnantChat only stores user preferences and never message content of
any kind. This preference data is only stored locally on your device and
not a server.
</Typography>

View File

@ -11,7 +11,7 @@ class InvalidFileError extends Error {
message = 'InvalidFileError: File could not be imported'
}
const encryptionTestTarget = 'chitchatter'
const encryptionTestTarget = 'remnantchat'
export class SettingsService {
exportSettings = async (userSettings: UserSettings) => {
@ -22,7 +22,7 @@ export class SettingsService {
type: 'application/json;charset=utf-8',
})
saveAs(blob, `chitchatter-profile-${userSettings.userId}.json`)
saveAs(blob, `remnantchat-profile-${userSettings.userId}.json`)
}
importSettings = async (file: File) => {
@ -57,7 +57,7 @@ export class SettingsService {
)
// NOTE: This determines whether the public and private keys match
// and are compatible with Chitchatter.
// and are compatible with RemnantChat.
if (decryptedString !== encryptionTestTarget) {
throw new Error()
}

View File

@ -9,7 +9,7 @@
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"isolatedModules": true,