{"id":24778210,"url":"https://github.com/mxvsh/sapphire","last_synced_at":"2026-02-21T06:13:01.235Z","repository":{"id":271418474,"uuid":"913306339","full_name":"mxvsh/sapphire","owner":"mxvsh","description":"Transform and shape your data effortlessly using JavaScript","archived":false,"fork":false,"pushed_at":"2025-01-07T16:14:28.000Z","size":145,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T00:36:39.642Z","etag":null,"topics":["javascript","nextjs","shadcn","tailwindcss","tools","web"],"latest_commit_sha":null,"homepage":"https://sapphire.monawwar.io/","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/mxvsh.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}},"created_at":"2025-01-07T12:35:07.000Z","updated_at":"2025-01-09T05:48:25.000Z","dependencies_parsed_at":"2025-01-08T22:16:20.225Z","dependency_job_id":null,"html_url":"https://github.com/mxvsh/sapphire","commit_stats":null,"previous_names":["mxvsh/sapphire"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mxvsh/sapphire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxvsh%2Fsapphire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxvsh%2Fsapphire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxvsh%2Fsapphire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxvsh%2Fsapphire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mxvsh","download_url":"https://codeload.github.com/mxvsh/sapphire/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxvsh%2Fsapphire/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29675031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T05:54:28.202Z","status":"ssl_error","status_checked_at":"2026-02-21T05:53:42.585Z","response_time":107,"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":["javascript","nextjs","shadcn","tailwindcss","tools","web"],"created_at":"2025-01-29T08:18:01.233Z","updated_at":"2026-02-21T06:13:01.217Z","avatar_url":"https://github.com/mxvsh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg width=\"80px\" src=\"public/logo.png\"\u003e\u003c/p\u003e\n\u003ch3 align=\"center\"\u003eSapphire\u003c/h3\u003e\n\u003cp align=\"center\"\u003eTransform and shape your data effortlessly.\u003c/p\u003e\n\n---\n\nSapphire is a web-based tool that allows you to upload or paste JSON, write JavaScript `map` functions, and instantly transform your data into any desired format. Whether you're a developer, data analyst, or anyone working with structured data, Sapphire provides a seamless and efficient way to manipulate your data.\n\n---\n\n## 🚀 Features\n\n- **Custom Transformations**: Write and execute custom JavaScript `map` functions to transform your data.\n- **Real-Time Output**: Instantly preview transformed JSON as you write your function.\n- **JSON Validation**: Built-in validation to ensure your JSON input is correct.\n- **User-Friendly Interface**: Simple and intuitive UI for ease of use.\n- **Future-Ready**: Designed to accommodate additional features like chaining, templates, and API integration.\n\n---\n\n## 🛠️ How It Works\n\n1. **Upload or Paste JSON**: Input your data directly into the tool.\n2. **Write a Map Function**: Use JavaScript to define how you want to transform the data.\n3. **View Results Instantly**: See the transformed data in real time.\n4. **Export**: Download or copy your transformed JSON for use.\n\n---\n\n## 🧑‍💻 Example\n\nInput JSON:\n\n```json\n[1, 2, 3, 4]\n```\n\nMap Function:\n\n```javascript\nitem =\u003e item + 1;\n```\n\nOutput JSON:\n\n```json\n[2, 3, 4, 5]\n```\n\n## Roadmap\n\n- [x] Basic `map` functionality for transforming JSON.\n- [x] Real-time output for instant feedback.\n- [x] JSON validation with clear error messages.\n- [x] **Export Options**: Support exporting data in JSON, CSV, and XML formats.\n- [ ] **Filter Support**: Add `filter` functionality to refine data.\n- [ ] **Reduce Support**: Enable `reduce` for aggregations and summaries.\n- [ ] **Chaining Transformations**: Allow multiple operations (`map`, `filter`, `reduce`) in one workflow.\n- [ ] **Pre-Built Templates**: Common transformations (e.g., flatten arrays, rename keys).\n- [ ] **Error Highlighting**: Debugging support in the editor with detailed error messages.\n- [ ] **Preview Modes**: Visualize data in table or tree formats.\n- [ ] **Custom Reducers and Grouping**: Aggregate and group data by fields.\n- [ ] **Multi-Format Support**: Handle data formats like XML, YAML, and CSV.\n\n---\n\nStay tuned for updates and new features! Contributions and feedback are always welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmxvsh%2Fsapphire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmxvsh%2Fsapphire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmxvsh%2Fsapphire/lists"}