{"id":29861356,"url":"https://github.com/rafi983/vaultly","last_synced_at":"2026-05-08T16:51:49.017Z","repository":{"id":304971213,"uuid":"1020758483","full_name":"rafi983/vaultly","owner":"rafi983","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-16T11:44:21.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-30T05:23:58.774Z","etag":null,"topics":["fastify","neon-postgres","typescript","upstash"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafi983.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-16T10:54:14.000Z","updated_at":"2025-07-16T11:45:50.000Z","dependencies_parsed_at":"2025-07-17T18:11:02.096Z","dependency_job_id":"193a1f5d-080e-4aae-bb39-6fab40835ae8","html_url":"https://github.com/rafi983/vaultly","commit_stats":null,"previous_names":["rafi983/vaultly"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rafi983/vaultly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi983%2Fvaultly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi983%2Fvaultly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi983%2Fvaultly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi983%2Fvaultly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafi983","download_url":"https://codeload.github.com/rafi983/vaultly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi983%2Fvaultly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32789368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["fastify","neon-postgres","typescript","upstash"],"created_at":"2025-07-30T05:01:15.920Z","updated_at":"2026-05-08T16:51:48.977Z","avatar_url":"https://github.com/rafi983.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vaultly 🔐\n\n## ✨ Features\n\n-   **🔒 End-to-End Encryption** - Messages are encrypted with user-defined keys\n-   **⏰ Expiration Control** - Set automatic message expiration dates\n-   **🔥 One-Time Access** - Self-destructing messages after single retrieval\n-   **🌙 Dark/Light Theme** - Beautiful UI with theme switching\n-   **📱 Responsive Design** - Works seamlessly across all devices\n-   **🎨 Modern Interface** - Animated background with Comfortaa typography\n\n## 🚀 Quick Start\n\n1. **Create Message**: Enter your encryption key and message content\n2. **Set Options**: Configure expiration time and one-time access\n3. **Share ID**: Send the generated message ID to your recipient\n4. **Retrieve**: Recipient uses ID and decryption key to access the message\n\n## 🛠️ Tech Stack\n\n-   **Frontend**: HTML5, CSS3, JavaScript (ES6+)\n-   **Backend**: Fastify.js with Netlify Functions\n-   **Database**: PostgreSQL with Drizzle ORM\n-   **Styling**: Custom CSS with animations and gradients\n-   **Typography**: Comfortaa font family\n-   **Security**: Client-side encryption with custom key management\n\n## 📦 Dependencies\n\n-   **`@fastify/rate-limit`** - Provides rate limiting functionality to prevent API abuse and protect against spam\n-   **`drizzle-orm`** - Type-safe database toolkit with SQL-like syntax for PostgreSQL operations\n-   **`fastify`** - High-performance web framework for building REST APIs with excellent TypeScript support\n-   **`postgres`** - Lightweight PostgreSQL client with modern async/await support\n-   **`serverless-http`** - Wrapper that allows Express/Fastify apps to run as serverless functions\n-   **`uuid`** - Generates unique identifiers for message storage and retrieval\n-   **`@types/node`** - TypeScript type definitions for Node.js built-in modules\n-   **`@types/uuid`** - TypeScript type definitions for UUID library\n-   **`drizzle-kit`** - CLI tool for database schema migrations and code generation\n\n## 📁 Project Structure\n\n```\nvaultly/\n├── src/\n│   ├── database/\n│   │   ├── index.ts                 # Database connection and schema\n│   │   └── message.ts               # Message model definitions\n│   ├── function/\n│   │   ├── crypto.ts                # Encryption/decryption utilities\n│   │   ├── html.ts                  # HTML template rendering\n│   │   └── index.ts                 # Utility functions\n│   ├── routes/\n│   │   ├── index.ts                 # Route definitions\n│   │   ├── post-message.ts          # POST endpoint for storing messages\n│   │   └── put-message.ts           # PUT endpoint for retrieving messages\n│   ├── index.ts                     # Main entry point for the application\n│   └── types.ts                     # TypeScript type definitions\n├── .env                             # Environment variables\n├── .gitignore                       # Git ignore patterns\n├── .prettierignore                  # Prettier ignore patterns\n├── .prettierrc                      # Prettier configuration\n├── drizzle.config.ts                # Drizzle ORM configuration\n├── package.json                     # Project dependencies and scripts\n├── README.md                        # Project documentation\n└── tsconfig.json                    # TypeScript configuration\n```\n\n## 📄 File Explanations\n\n### Core Application Files\n\n-   **`database/index.ts`** - Database schema definition using Drizzle ORM, handles PostgreSQL connection\n-   **`routes/index.ts`** - Main API route handler that processes HTTP requests\n-   **`post-message.ts`** - API endpoint for storing new encrypted messages with expiration settings\n-   **`put-message.ts`** - API endpoint for retrieving messages, handles one-time access logic\n-   **`crypto.ts`** - Client-side encryption utilities for message security\n-   **`html.ts`** - HTML template generation for the web interface\n\n### Configuration Files\n\n-   **`drizzle.config.ts`** - Database ORM configuration for schema management\n-   **`netlify.toml`** - Netlify deployment settings and build configuration\n-   **`tsconfig.json`** - TypeScript compiler configuration\n-   **`package.json`** - Project metadata, dependencies, and npm scripts\n\n### Development Files\n\n-   **`.prettierrc`** - Code formatting rules for consistent styling\n-   **`.gitignore`** - Specifies files to exclude from version control\n-   **`env.example`** - Template for required environment variables\n\n### Documentation\n\n-   **`README.md`** - Comprehensive project documentation (this file)\n-   **`LICENSE`** - MIT license for open-source usage\n\n## 🔧 Installation \u0026 Setup\n\n1. **Clone the repository**\n\n    ```bash\n    git clone https://github.com/rafi983/vaultly.git\n    cd vaultly\n    ```\n\n2. **Install dependencies**\n\n    ```bash\n    pnpm install\n    ```\n\n3. **Set up environment variables**\n\n    ```bash\n    cp env.example .env\n    # Edit .env with your database credentials\n    ```\n\n4. **Start development server**\n    ```bash\n    node --run dev\n    ```\n\n## 🎯 Use Cases\n\n-   Sharing passwords and API keys\n-   Sending confidential business information\n-   Temporary secure communication\n-   One-time sensitive data transmission\n\n## 🚀 Deployment\n\nThis project is configured for automatic deployment on Netlify. Simply connect your GitHub repository to Netlify, and it will automatically deploy on every push to the main branch.\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafi983%2Fvaultly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafi983%2Fvaultly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafi983%2Fvaultly/lists"}