{"id":29312783,"url":"https://github.com/coder3101/secretlink","last_synced_at":"2026-02-02T21:39:46.208Z","repository":{"id":302599628,"uuid":"1012980081","full_name":"coder3101/secretlink","owner":"coder3101","description":"one-time secret sharing application built with Rust and PostgreSQL","archived":false,"fork":false,"pushed_at":"2025-07-03T07:45:52.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-03T08:42:31.569Z","etag":null,"topics":["end-to-end-encryption","secrets"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coder3101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-03T07:17:12.000Z","updated_at":"2025-07-03T07:47:12.000Z","dependencies_parsed_at":"2025-07-03T08:42:39.133Z","dependency_job_id":"3c5233a6-f0ff-4a7a-85b5-bc54c0a63ec4","html_url":"https://github.com/coder3101/secretlink","commit_stats":null,"previous_names":["coder3101/secretlink"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coder3101/secretlink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder3101%2Fsecretlink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder3101%2Fsecretlink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder3101%2Fsecretlink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder3101%2Fsecretlink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder3101","download_url":"https://codeload.github.com/coder3101/secretlink/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder3101%2Fsecretlink/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264049015,"owners_count":23549396,"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":["end-to-end-encryption","secrets"],"created_at":"2025-07-07T09:07:50.442Z","updated_at":"2026-02-02T21:39:41.164Z","avatar_url":"https://github.com/coder3101.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secretlink\n\n[![CI](https://github.com/coder3101/secretlink/actions/workflows/ci.yml/badge.svg)](https://github.com/coder3101/secretlink/actions/workflows/ci.yml)\n\n**Secretlink** is a blazing-fast, open-source, one-time secret sharing application built with Rust and PostgreSQL. Share sensitive information—like passwords, API keys, or confidential notes—securely and privately. Each link is end-to-end encrypted in your browser and can only be viewed once before it self-destructs.\n\n---\n\n## 🚀 Features\n\n- **End-to-End Encryption:** Secrets are encrypted in your browser before ever reaching the server.\n- **One-Time Access:** Each link can only be viewed once. After that, it’s gone forever.\n- **No Registration:** Share secrets instantly—no account or login required.\n- **Flexible Expiry:** Set secrets to expire after a certain time or keep them available until first view.\n- **Open Source:** MIT licensed and easy to self-host.\n- **Modern Rust Stack:** Built with [Axum](https://github.com/tokio-rs/axum), [SQLx](https://github.com/launchbadge/sqlx), and [Askama](https://github.com/askama-rs/askama).\n\n---\n\n## 🏗️ How It Works\n\n1. **Write your secret** in the web UI.\n2. **Choose an expiry** (one-time, 1 hour, 24 hours, or 1 week).\n3. **Generate a secure link**—the secret is encrypted in your browser.\n4. **Share the link**. The recipient can view the secret once; after that, it’s deleted.\n\n---\n\n## 📦 Getting Started\n\n### Prerequisites\n\n- Rust (latest stable)\n- PostgreSQL\n\n### Running Locally\n\n1. **Clone the repo:**\n   ```sh\n   git clone https://github.com/coder3101/secretlink.git\n   cd secretlink\n   ```\n\n2. **Set up the database:**\n   ```sh\n   # After your postgresql is up and running, set the following environment\n   export DATABASE_URL=postgres://postgres:password@localhost:5432/secretlink\n   ```\n\n3. **Run migrations:**\n   ```sh\n   cargo install sqlx-cli --no-default-features --features postgres\n   sqlx migrate run\n   ```\n\n4. **Start the server:**\n   ```sh\n   cargo run\n   ```\n\n5. Visit [http://localhost:8080](http://localhost:8080)\n\n---\n\n## 🧪 Running Tests\n\n```sh\nexport DATABASE_URL=postgres://postgres:password@localhost:5432/secretlink\ncargo test\n```\n\n---\n\n## 🛡️ Security\n\n- Secrets are encrypted in the browser using AES-256-GCM.\n- The server never sees the plaintext secret or the encryption key.\n- Links are single-use and self-destruct after being viewed.\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome! Please open issues or pull requests.\n\n---\n\n## 📄 License\n\nMIT License © 2025 Ashar\n\n---\n\n## 🙏 Acknowledgements\n\n- [Axum](https://github.com/tokio-rs/axum)\n- [SQLx](https://github.com/launchbadge/sqlx)\n- [Askama](https://github.com/askama-rs/askama)\n\n---\n\n\u003e Made with ❤️ in Rust\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder3101%2Fsecretlink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder3101%2Fsecretlink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder3101%2Fsecretlink/lists"}