{"id":42165271,"url":"https://github.com/pedramcode/xray-demo-mock","last_synced_at":"2026-01-26T21:00:45.901Z","repository":{"id":309736943,"uuid":"1037372793","full_name":"pedramcode/xray-demo-mock","owner":"pedramcode","description":"XRay demo service mock executor (RabbitMQ)","archived":false,"fork":false,"pushed_at":"2025-08-13T13:34:59.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-13T15:37:36.176Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/pedramcode.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":"2025-08-13T13:27:09.000Z","updated_at":"2025-08-13T13:35:02.000Z","dependencies_parsed_at":"2026-01-26T21:00:40.259Z","dependency_job_id":null,"html_url":"https://github.com/pedramcode/xray-demo-mock","commit_stats":null,"previous_names":["pedramcode/xray-demo-mock"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/pedramcode/xray-demo-mock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedramcode%2Fxray-demo-mock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedramcode%2Fxray-demo-mock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedramcode%2Fxray-demo-mock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedramcode%2Fxray-demo-mock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedramcode","download_url":"https://codeload.github.com/pedramcode/xray-demo-mock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedramcode%2Fxray-demo-mock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28788062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"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":[],"created_at":"2026-01-26T21:00:22.714Z","updated_at":"2026-01-26T21:00:45.882Z","avatar_url":"https://github.com/pedramcode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xray-demo-mock\n\nThis project provides a mock implementation for the XRAY demo, designed to facilitate development and testing without requiring access to the full production environment.\n\n## Features\n\n- Mock services and endpoints for XRAY demo scenarios\n- Easy setup for local development and integration testing\n- Reuses core modules (`signal` and `rabbit`) from the main XRAY project for consistency\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (version X or higher)\n- npm or yarn\n\n### Installation\n\nClone the repository:\n\n```bash\ngit clone https://github.com/pedramcode/xray-demo-mock.git\ncd xray-demo-mock\n```\n\nInstall dependencies:\n\n```bash\nnpm install\n# or\nyarn install\n```\n\n### Usage\n\nSet `.env` file:\n\n```ENV\nRABBITMQ_URL=amqp://localhost:5672\n```\n\nStart the mock server:\n\n```bash\nnpm start\n# or\nyarn start\n```\n\nThe server will start on the default port (e.g., 3000). You can configure the port and other settings via environment variables.\n\n## Project Structure\n\n- `src/` - Main source code for the mock server and services\n- `signal/` - Reused module from the main XRAY project for signaling functionality\n- `rabbit/` - Reused module from the main XRAY project for RabbitMQ integration\n\n## Reused Modules\n\nThis project reuses the following modules from the main XRAY project:\n\n- **signal**: Provides signaling mechanisms for inter-service communication.\n- **rabbit**: Handles RabbitMQ messaging and queue management.\n\nRefer to the main XRAY project documentation for details on these modules.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedramcode%2Fxray-demo-mock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedramcode%2Fxray-demo-mock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedramcode%2Fxray-demo-mock/lists"}