{"id":30380922,"url":"https://github.com/vanvanni/lampofs","last_synced_at":"2025-08-20T21:34:38.901Z","repository":{"id":307908258,"uuid":"1031051836","full_name":"vanvanni/lampofs","owner":"vanvanni","description":"LampoFS - Go library that makes working with different storage systems easy, simple and minimal.","archived":false,"fork":false,"pushed_at":"2025-08-02T22:50:08.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-03T00:19:56.213Z","etag":null,"topics":["files","filesystem","go","golang","local","memory","s3","storage"],"latest_commit_sha":null,"homepage":"","language":"Go","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/vanvanni.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}},"created_at":"2025-08-02T22:44:29.000Z","updated_at":"2025-08-02T22:50:11.000Z","dependencies_parsed_at":"2025-08-03T00:20:00.697Z","dependency_job_id":"f2ceb6ff-4d76-4ec2-9f26-d08211d66b75","html_url":"https://github.com/vanvanni/lampofs","commit_stats":null,"previous_names":["vanvanni/lampofs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vanvanni/lampofs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvanni%2Flampofs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvanni%2Flampofs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvanni%2Flampofs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvanni%2Flampofs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanvanni","download_url":"https://codeload.github.com/vanvanni/lampofs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvanni%2Flampofs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271389681,"owners_count":24751277,"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-08-20T02:00:09.606Z","response_time":69,"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":["files","filesystem","go","golang","local","memory","s3","storage"],"created_at":"2025-08-20T21:34:33.534Z","updated_at":"2025-08-20T21:34:38.885Z","avatar_url":"https://github.com/vanvanni.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LampoFS - Go Filesystem Library\n\nLampoFS is a Go library that makes working with different storage systems easy and simple. It gives you one simple way to handle files whether they're on your local computer, in cloud storage like S3, or just in memory. No need to learn different APIs for each storage type!\n\n## Simple Reference\n\n### Lampo Methods\n\n- `Read(path string) (io.ReadCloser, error)` - Read a file\n- `Write(path string, data []byte) error` - Write a new file (fails if file exists)\n- `Put(path string, data []byte) error` - Create or overwrite a file\n- `Delete(path string) error` - Delete a file\n- `Update(path string, data []byte, prepend bool) error` - Append or prepend to a file\n- `On(handler func(event LampEvent))` - Register an event listener\n\n### LampEvent\n\nEvents fired by the filesystem operations:\n\n- `Type`: \"READ\", \"WRITE\", \"PUT\", \"DELETE\", \"APPEND\", \"PREPEND\"\n- `Path`: Path of the file\n- `Timestamp`: Unix timestamp of the event\n- `Data`: Additional data (size of data for write operations)\n\n## Testing\nRun tests with:\n\n```bash\n# Run tests with gotestsum (beautiful output)\nmake test\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanvanni%2Flampofs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanvanni%2Flampofs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanvanni%2Flampofs/lists"}