{"id":21163298,"url":"https://github.com/thepurplebubble/server-node","last_synced_at":"2025-10-02T03:31:41.531Z","repository":{"id":246885275,"uuid":"824386786","full_name":"thepurplebubble/server-node","owner":"thepurplebubble","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-26T16:08:02.000Z","size":55,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-11-20T13:52:15.403Z","etag":null,"topics":["protocol","purple-bubble","purplebubble","server","server-node"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thepurplebubble.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"thepurplebubble","custom":"https://hcb.hackclub.com/donations/start/purplebubble"}},"created_at":"2024-07-05T03:05:09.000Z","updated_at":"2024-10-01T20:20:54.000Z","dependencies_parsed_at":"2024-11-20T13:45:00.776Z","dependency_job_id":"e42d5eff-0c91-4679-8293-b1d17989ee37","html_url":"https://github.com/thepurplebubble/server-node","commit_stats":null,"previous_names":["thepurplebubble/server-node"],"tags_count":0,"template":false,"template_full_name":"thepurplebubble/template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepurplebubble%2Fserver-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepurplebubble%2Fserver-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepurplebubble%2Fserver-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepurplebubble%2Fserver-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thepurplebubble","download_url":"https://codeload.github.com/thepurplebubble/server-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234930956,"owners_count":18909025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["protocol","purple-bubble","purplebubble","server","server-node"],"created_at":"2024-11-20T13:44:51.610Z","updated_at":"2025-10-02T03:31:41.241Z","avatar_url":"https://github.com/thepurplebubble.png","language":"TypeScript","funding_links":["https://github.com/sponsors/thepurplebubble","https://hcb.hackclub.com/donations/start/purplebubble"],"categories":[],"sub_categories":[],"readme":"# Purple Bubble Server\n\n[![AGPL License](https://img.shields.io/badge/license-AGPL-blue.svg)](http://www.gnu.org/licenses/agpl-3.0)\n\nPurple Bubble Server is a Node.js implementation of a decentralized, secure messaging system designed to provide anonymity and security for its users.\n\n## Features\n\n- Decentralized mesh network of servers\n- RSA 4096 encryption for message security\n- Separate transmission (TX) and reception (RX) servers for enhanced anonymity\n- Message retention for 7 days\n- Automatic server and message synchronization\n\n## Prerequisites\n\n- Node.js (v14 or later recommended)\n- Redis server\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone git@github.com:thepurplebubble/server-node.git\n   ```\n\n## Development\n\nTo start the server in development mode, run the dev script:\n\n````bash\npnpm run dev\n\n## Usage\n\nTo start the server (Production mode):\n\nRun the build script with your favorite package manager:\n\n```bash\npnpm run build\n````\n\nThen start the server using node:\n\n```bash\nnode dist/index.js\n```\n\nThe server will start and listen on the port specified in your `.env` file.\n\n## API Endpoints\n\n- `/fetch` (POST): Retrieve messages for a recipient\n- `/send` (POST): Send a new message\n- `/sync/servers` (POST): Synchronize known servers list\n- `/sync/hashes` (POST): Synchronize message hashes\n\nFor detailed API documentation, please refer to the [API Documentation](docs/API.md) (TODO: Create this document).\n\n## Contributing\n\nWe welcome contributions to the Purple Bubble Server project! Please read our [Contributing Guidelines](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.\n\n## Code of Conduct\n\nThis project adheres to a [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.\n\n## License\n\nThis project is licensed under the AGPL-3.0 License - see the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nFor bug reports and feature requests, please use the [GitHub Issues](https://github.com/thepurplebubble/server-node/issues) page.\n\nFor other inquiries, please reach out to [team@purplebubble.org](mailto:team@purplebubble.org).\n\n---\n\nPurple Bubble Server is part of the Purple Bubble project, aiming to provide secure and anonymous communication for all.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepurplebubble%2Fserver-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthepurplebubble%2Fserver-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepurplebubble%2Fserver-node/lists"}