An open API service indexing awesome lists of open source software.

https://github.com/zkfriendly/direct

P2P Messaging
https://github.com/zkfriendly/direct

Last synced: 3 months ago
JSON representation

P2P Messaging

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,
},
})
```