{"id":31029058,"url":"https://github.com/codesignal/learn_spreadsheet-sim","last_synced_at":"2025-09-13T21:59:28.412Z","repository":{"id":313981993,"uuid":"1053505899","full_name":"CodeSignal/learn_spreadsheet-sim","owner":"CodeSignal","description":"Spreadsheet simulation for Learn","archived":false,"fork":false,"pushed_at":"2025-09-09T19:40:01.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-09T23:22:13.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeSignal.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-09T14:40:04.000Z","updated_at":"2025-09-09T19:38:59.000Z","dependencies_parsed_at":"2025-09-09T23:34:10.269Z","dependency_job_id":null,"html_url":"https://github.com/CodeSignal/learn_spreadsheet-sim","commit_stats":null,"previous_names":["codesignal/learn_spreadsheet-sim"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/CodeSignal/learn_spreadsheet-sim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_spreadsheet-sim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_spreadsheet-sim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_spreadsheet-sim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_spreadsheet-sim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeSignal","download_url":"https://codeload.github.com/CodeSignal/learn_spreadsheet-sim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_spreadsheet-sim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275032803,"owners_count":25393761,"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","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-09-13T21:59:26.886Z","updated_at":"2025-09-13T21:59:28.404Z","avatar_url":"https://github.com/CodeSignal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spreadsheet Simulator\n\nSpreadsheet simulation for CodeSignal\n\n## Quick Start\n\n### Prerequisites\n\n- Node.js (v14 or higher)\n- npm or yarn\n- Google Sheets API access (for JSON export functionality)\n\n### Installation \u0026 Setup\n\n1. **Clone the repository:**\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd learn_spreadsheet-sim\n   ```\n\n2. **Create environment configuration:**\n   Create a `.env` file in the project root:\n   ```env\n   ORIGINAL_SPREADSHEET_URL=https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID/\n   GOOGLE_API_KEY=your_google_docs_api_key\n   GOOGLE_SHEET_ID=your_sheet_id\n   GENERATED_TAG=your_generated_tag\n   COPY_ENDPOINT=http://146.190.40.43:3000/getSpreadsheet\n   ```\n\n3. **Run the automated setup:**\n   ```bash\n   chmod +x start_spreadsheet.sh\n   ./start_spreadsheet.sh\n   ```\n\n   This script will:\n   - Install required dependencies (`dotenv`, `express`, `axios`)\n   - Install PM2 globally for process management\n   - Start the proxy server\n   - Run the initial setup\n\n## Components\n\n\n### 🔧 Configuration\n\nThe application uses environment variables for configuration:\n\n- `ORIGINAL_SPREADSHEET_URL` - The source Google Sheet URL to copy\n- `GOOGLE_API_KEY` - Google Sheets API key for data export\n- `COPY_ENDPOINT` - External service endpoint for creating sheet copies\n\n## Usage\n\n### Basic Operation\n\n1. **Start the system:**\n   ```bash\n   ./start_spreadsheet.sh\n   ```\n\n2. **Access the proxy:**\n   Navigate to `http://localhost:3000` in your browser\n\n3. **Automatic redirection:**\n   The proxy will show a loading page while preparing the sheet, then automatically redirect to the temporary copy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesignal%2Flearn_spreadsheet-sim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesignal%2Flearn_spreadsheet-sim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesignal%2Flearn_spreadsheet-sim/lists"}