https://github.com/zkfriendly/direct
P2P Messaging
https://github.com/zkfriendly/direct
Last synced: 3 months ago
JSON representation
P2P Messaging
- Host: GitHub
- URL: https://github.com/zkfriendly/direct
- Owner: zkfriendly
- Created: 2025-03-15T10:19:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-15T10:21:38.000Z (over 1 year ago)
- Last Synced: 2025-03-15T11:24:50.725Z (over 1 year ago)
- Language: CSS
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Direct - Peer-to-Peer Messaging
Direct is a decentralized messaging application that enables secure, private communication through peer-to-peer technology. Built on the Waku protocol, Direct eliminates the need for centralized servers, giving users full control over their messaging experience.
## Features
- [ ] **Truly Decentralized**: Messages are transmitted directly between peers without relying on central servers
- [ ] **Privacy-Focused**: End-to-end encryption ensures your conversations remain private
- [ ] **Censorship Resistant**: No central authority can block or control your communications
- [ ] **Built on Waku**: Leverages the Waku protocol for reliable p2p message routing
## Development Setup
This project is built with React, TypeScript, and Vite for a modern development experience.
### Available Scripts
- `npm run dev` - Start the development server with HMR
- `npm run build` - Build for production
- `npm run lint` - Run ESLint
- `npm run preview` - Preview the production build locally
## Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
```js
export default tseslint.config({
extends: [
// Remove ...tseslint.configs.recommended and replace with this
...tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
...tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
...tseslint.configs.stylisticTypeChecked,
],
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})
```
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
```js
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default tseslint.config({
plugins: {
// Add the react-x and react-dom plugins
'react-x': reactX,
'react-dom': reactDom,
},
rules: {
// other rules...
// Enable its recommended typescript rules
...reactX.configs['recommended-typescript'].rules,
...reactDom.configs.recommended.rules,
},
})
```