{"id":19956018,"url":"https://github.com/mranv/ocsf-rust-crawler","last_synced_at":"2025-09-12T04:33:01.815Z","repository":{"id":209599297,"uuid":"724487634","full_name":"mranv/ocsf-rust-crawler","owner":"mranv","description":"This Rust application fetches JSON data from a configurable URL and saves the response to a file. It runs for a specified duration, printing output and errors.","archived":false,"fork":false,"pushed_at":"2023-11-28T07:43:34.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T14:08:50.704Z","etag":null,"topics":["api","ocsf","ocsf-server","rust-lang"],"latest_commit_sha":null,"homepage":"https://github.com/mranv/ocsf-rust-crawler","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mranv.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}},"created_at":"2023-11-28T07:15:03.000Z","updated_at":"2024-02-05T18:38:50.000Z","dependencies_parsed_at":"2023-11-28T08:50:25.797Z","dependency_job_id":null,"html_url":"https://github.com/mranv/ocsf-rust-crawler","commit_stats":null,"previous_names":["mranv/ocsf-rust-crawler"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mranv%2Focsf-rust-crawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mranv%2Focsf-rust-crawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mranv%2Focsf-rust-crawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mranv%2Focsf-rust-crawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mranv","download_url":"https://codeload.github.com/mranv/ocsf-rust-crawler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241389101,"owners_count":19955105,"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","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":["api","ocsf","ocsf-server","rust-lang"],"created_at":"2024-11-13T01:29:46.878Z","updated_at":"2025-03-01T15:42:14.423Z","avatar_url":"https://github.com/mranv.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# OCSF Rust Crawler\n\nThis Rust application fetches JSON data from a specified URL ( The url is taken after running the OCSF Schema Server docker image. ) and saves it to a file every second.\n\n## Usage\n\n1. Clone the repository\n```\ngit clone https://github.com/mranv/ocsf-rust-crawler\n```\n\n2. Build the application \n```\ncargo build\n```\n\n3. Run the application\n```\ncargo run  \n```\n\n## Configuration\n\nThe following parameters can be configured in `main.rs`:\n\n- `url` - URL to fetch JSON data from \n- `duration` - Total runtime of the application\n- `interval` - Interval (in seconds) between fetches\n\n## Output\n\n- Fetched JSON data is saved to a file named `ocsf_schema_sample_data\u003ctimestamp\u003e.json` \n- Status and errors are printed to stdout\n\n## Dependencies\n\n- reqwest\n- serde\n- serde_json \n- chrono\n\n## License\n\nThis project is licensed under the MIT License. See [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmranv%2Focsf-rust-crawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmranv%2Focsf-rust-crawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmranv%2Focsf-rust-crawler/lists"}