{"id":48195667,"url":"https://github.com/dcs-soni/stashit-cloud","last_synced_at":"2026-04-04T18:03:22.633Z","repository":{"id":335484776,"uuid":"1143270752","full_name":"dcs-soni/stashit-cloud","owner":"dcs-soni","description":"Save, search, and share your content intelligently with AI-powered semantic search and shareable links.","archived":false,"fork":false,"pushed_at":"2026-03-27T04:16:47.000Z","size":376,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-27T05:33:28.926Z","etag":null,"topics":["chromadb","fastify","openai"],"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/dcs-soni.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-27T11:24:33.000Z","updated_at":"2026-03-27T04:16:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dcs-soni/stashit-cloud","commit_stats":null,"previous_names":["dcs-soni/stashit-cloud"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dcs-soni/stashit-cloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcs-soni%2Fstashit-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcs-soni%2Fstashit-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcs-soni%2Fstashit-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcs-soni%2Fstashit-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcs-soni","download_url":"https://codeload.github.com/dcs-soni/stashit-cloud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcs-soni%2Fstashit-cloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31407654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: 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":["chromadb","fastify","openai"],"created_at":"2026-04-04T18:03:22.527Z","updated_at":"2026-04-04T18:03:22.616Z","avatar_url":"https://github.com/dcs-soni.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StashIt Cloud\r\n\r\nSave, search, and share your content intelligently — with AI-powered semantic search and shareable links.\r\n\r\n## Why This Exists\r\n\r\nThis is the cloud-native evolution of [stash-it](https://github.com/dcs-soni/stash-it), which used a self-hosted ChromaDB instance running in Docker on EC2. While that worked, it meant managing infrastructure for the vector database yourself.\r\n\r\n**StashIt Cloud** replaces that with [Chroma Cloud](https://trychroma.com) — a managed vector database — so there's nothing to self-host. The UI has also been redesigned from scratch with a modern, polished interface.\r\n\r\n|            | stash-it                      | stashit-cloud                        |\r\n| ---------- | ----------------------------- | ------------------------------------ |\r\n| Vector DB  | ChromaDB (self-hosted Docker) | Chroma Cloud (managed)               |\r\n| Backend    | Express                       | Fastify                              |\r\n| Frontend   | Basic React UI                | Redesigned React UI                  |\r\n| Deployment | EC2 + Nginx + PM2             | AWS Lambda + CloudFront (serverless) |\r\n\r\n## Tech Stack\r\n\r\n**Backend** — Fastify, TypeScript, MongoDB, Chroma Cloud, JWT auth  \r\n**Frontend** — React 18, Vite, TypeScript, TailwindCSS  \r\n**Infrastructure** — Terraform, AWS Lambda, API Gateway, S3, CloudFront\r\n\r\n## Getting Started\r\n\r\n**Prerequisites:** Node.js 18+, pnpm, MongoDB instance, [Chroma Cloud](https://trychroma.com) account\r\n\r\n```bash\r\npnpm install\r\n\r\n# API environment (local development)\r\ncp api/.env.example api/.env\r\n# Fill in your credentials in api/.env\r\n\r\n# Docker Compose environment (only if using Docker)\r\ncp .env.example .env\r\n```\r\n\r\n### Environment Variables\r\n\r\nThe API loads `api/.env` via `dotenv` at runtime:\r\n\r\n```env\r\nDATABASE_URL=your-mongodb-connection-string\r\nJWT_SECRET=your-jwt-secret\r\nCHROMA_TENANT=your-chroma-tenant\r\nCHROMA_DATABASE=your-chroma-database\r\nCHROMA_API_KEY=your-chroma-api-key\r\nOPENAI_API_KEY=your-openai-api-key\r\n```\r\n\r\nThe root `.env` is only used by Docker Compose for MongoDB and Mongo Express credentials.\r\n\r\n### Development\r\n\r\n```bash\r\npnpm dev        # Run both frontend and backend\r\npnpm dev:api    # Backend only  → http://localhost:3000\r\npnpm dev:web    # Frontend only → http://localhost:5173\r\n```\r\n\r\n## API Endpoints\r\n\r\n| Method | Endpoint              | Description        |\r\n| ------ | --------------------- | ------------------ |\r\n| POST   | `/api/v1/signup`      | User registration  |\r\n| POST   | `/api/v1/signin`      | User login         |\r\n| GET    | `/api/v1/content`     | Get user content   |\r\n| POST   | `/api/v1/content`     | Add content        |\r\n| DELETE | `/api/v1/delete/:id`  | Delete content     |\r\n| POST   | `/api/v1/stash`       | Toggle share link  |\r\n| GET    | `/api/v1/stash/:hash` | Get shared content |\r\n| POST   | `/api/v1/search`      | Semantic search    |\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcs-soni%2Fstashit-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcs-soni%2Fstashit-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcs-soni%2Fstashit-cloud/lists"}