{"id":15695780,"url":"https://github.com/prongbang/filex","last_synced_at":"2025-06-17T16:35:50.579Z","repository":{"id":87919595,"uuid":"275578278","full_name":"prongbang/filex","owner":"prongbang","description":"File management for Golang","archived":false,"fork":false,"pushed_at":"2024-03-01T03:53:15.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T22:43:55.654Z","etag":null,"topics":["create-file","create-image","create-image-from-text","filex","golang"],"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/prongbang.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":"2020-06-28T12:16:06.000Z","updated_at":"2024-03-01T03:53:19.000Z","dependencies_parsed_at":"2024-10-24T03:44:00.190Z","dependency_job_id":null,"html_url":"https://github.com/prongbang/filex","commit_stats":{"total_commits":8,"total_committers":3,"mean_commits":"2.6666666666666665","dds":0.25,"last_synced_commit":"4d9411397b5af0046b5c08f9ad062b29fdfe3182"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/prongbang/filex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prongbang%2Ffilex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prongbang%2Ffilex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prongbang%2Ffilex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prongbang%2Ffilex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prongbang","download_url":"https://codeload.github.com/prongbang/filex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prongbang%2Ffilex/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260399688,"owners_count":23003223,"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":["create-file","create-image","create-image-from-text","filex","golang"],"created_at":"2024-10-03T19:04:47.105Z","updated_at":"2025-06-17T16:35:45.562Z","avatar_url":"https://github.com/prongbang.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FileX\n\nFile management for Golang\n\n[![Build Status](http://img.shields.io/travis/prongbang/filex.svg)](https://travis-ci.org/prongbang/filex)\n[![Go Report Card](https://goreportcard.com/badge/github.com/prongbang/filex)](https://goreportcard.com/report/github.com/prongbang/filex)\n\n\n```\ngo get github.com/prongbang/filex\n```\n\n### How to use\n\n- New FileX\n\n```go\nfileX := filex.New()\n```\n\n- Make Directory\n\n```go\nisSuccess := fileX.Mkdir(\"public/thumbnail\")\n```\n\n- Create Image from Bytes Array\n\n```go\nimgPath := \"public/thumbnail/image.jpeg\"\n\nimgByte := []byte(\"mock image byte array\")\nfileX.CreateImage(imgByte, imgPath)\n```\n\n- Create File from Multipart\n\n```go\npath := \"public/thumbnail\"\nfilename := \"image.jpeg\"\nvar file *multipart.FileHeader = mockFile\npathFile, err := fileX.CreateMultipart(path, filename, file)\n```\n\n- Delete file\n\n```go\npath, err := fileX.Delete(imgPath)\n```\n\n- Delete directory\n\n```go\nerr := fileX.DeleteDir(\"dir\")\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprongbang%2Ffilex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprongbang%2Ffilex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprongbang%2Ffilex/lists"}