{"id":18165561,"url":"https://github.com/wickenico/loganywhere","last_synced_at":"2026-01-26T23:23:50.982Z","repository":{"id":260170759,"uuid":"880520552","full_name":"wickenico/LogAnywhere","owner":"wickenico","description":"A practical guide for building a log server using Express.js, ngrok and Swift. This setup allows devices without localhost access to send logs via an ngrok URL, making remote logging easy and accessible.","archived":false,"fork":false,"pushed_at":"2024-10-29T22:12:53.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T02:22:39.824Z","etag":null,"topics":["express-js","logging","logs","ngrok","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wickenico.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}},"created_at":"2024-10-29T21:49:01.000Z","updated_at":"2024-12-16T18:56:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd5fee10-bb95-4612-8c01-4b320f543b73","html_url":"https://github.com/wickenico/LogAnywhere","commit_stats":null,"previous_names":["wickenico/loganywhere"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wickenico/LogAnywhere","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wickenico%2FLogAnywhere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wickenico%2FLogAnywhere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wickenico%2FLogAnywhere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wickenico%2FLogAnywhere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wickenico","download_url":"https://codeload.github.com/wickenico/LogAnywhere/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wickenico%2FLogAnywhere/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281424791,"owners_count":26499021,"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-10-28T02:00:06.022Z","response_time":60,"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":["express-js","logging","logs","ngrok","swift"],"created_at":"2024-11-02T12:07:46.072Z","updated_at":"2025-10-28T10:31:53.622Z","avatar_url":"https://github.com/wickenico.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LogAnywhere\n\nA practical guide for building a log server using Express.js, ngrok and Swift. This setup allows devices without localhost access to send logs via an ngrok URL, making remote logging easy and accessible.\n\n## Getting Started\n\n### Starting the Log Server\n\n1. **Clone the repository:**\n\n   ```sh\n   git clone https://github.com/yourusername/LogAnywhere.git\n   cd LogAnywhere\n   ```\n\n2. **Change to log server directory:**\n\n   ```sh\n   cd log-server\n   ```\n\n3. **Install dependencies:**\n\n   ```sh\n   npm install\n   ```\n\n4. **Start the server:**\n   ```sh\n   node server.js\n   ```\n\n### Setting Up ngrok\n\nTo expose your local server to the internet, you need to use ngrok. Follow the instructions in the [ngrok README](https://github.com/wickenico/LogAnywhere/tree/5605a96c05df98a6860892e8ea5c7f4107aa3a6a/ngrok) to set up ngrok and obtain a public URL.\n\n### Using the Swift App to Send Logs\n\n1. **Open the Swift project:**\n\n   - Navigate to the `DeviceInfoLogger` directory.\n   - Open `SwiftApp.xcodeproj` in Xcode.\n\n2. **Configure the ngrok URL:**\n\n   - In the Swift project, locate the ContentView and where the server URL is set.\n   - Replace the existing URL with your ngrok URL.\n\n3. **Run the Swift app:**\n   - Build and run the app on your device or simulator.\n   - Use the app interface to send logs to your server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwickenico%2Floganywhere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwickenico%2Floganywhere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwickenico%2Floganywhere/lists"}