{"id":20545496,"url":"https://github.com/eonist/filestreamer","last_synced_at":"2025-04-14T10:11:56.602Z","repository":{"id":93635087,"uuid":"229258670","full_name":"eonist/FileStreamer","owner":"eonist","description":"Continuous data to disk","archived":false,"fork":false,"pushed_at":"2024-07-21T11:28:11.000Z","size":128,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T23:24:36.397Z","etag":null,"topics":["file-streaming","file-sync","file-system","ios","macos","nsfilemanager","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/eonist.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":"2019-12-20T12:12:21.000Z","updated_at":"2024-07-21T11:28:14.000Z","dependencies_parsed_at":"2023-03-16T14:45:36.207Z","dependency_job_id":null,"html_url":"https://github.com/eonist/FileStreamer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eonist%2FFileStreamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eonist%2FFileStreamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eonist%2FFileStreamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eonist%2FFileStreamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eonist","download_url":"https://codeload.github.com/eonist/FileStreamer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860190,"owners_count":21173342,"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":["file-streaming","file-sync","file-system","ios","macos","nsfilemanager","swift"],"created_at":"2024-11-16T01:52:26.127Z","updated_at":"2025-04-14T10:11:56.567Z","avatar_url":"https://github.com/eonist.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Lang](https://img.shields.io/badge/Language-Swift-orange.svg)\n![mit](https://img.shields.io/badge/License-MIT-brightgreen.svg)\n![Tests](https://github.com/light-stream/FileStreamer/workflows/Tests/badge.svg)\n\n# FileStreamer\n\u003e Continuous data to disk\n\n### Installation:\n- SPM `\"https://github.com/light-stream/FileStreamer.git\"` branch: `\"master\"`\n\n### Writer example:\n```swift\nlet filePath: String = NSString(string: \"~/Desktop/del.txt\").expandingTildeInPath\nguard let data: Data = (\"black dog\" as NSString).data(using: String.Encoding.utf8.rawValue) else {Swift.print(\"unable to create data\");return}\nFSWriter.write(url: URL(filePath), data: data, index: 0)\n```\n\n### Reader example:\n```swift\nlet filePath: String = NSString(string: \"~/Desktop/del.txt\").expandingTildeInPath\nlet data: Data = FSReader.read(filePath: filePath, startIndex: 50, endIndex: 100)\nSwift.print(\"\\(String(data: data, encoding: .utf8))\") // blalbslalballabalbla...\n```\n\n### Size example:\n```swift\nlet fileSize = FSReader.fileSize(filePath: filePath)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feonist%2Ffilestreamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feonist%2Ffilestreamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feonist%2Ffilestreamer/lists"}