{"id":17284703,"url":"https://github.com/exu/goimgdata","last_synced_at":"2025-03-26T16:26:05.043Z","repository":{"id":8916689,"uuid":"10643405","full_name":"exu/goimgdata","owner":"exu","description":"Img to to data URI in Go lang","archived":false,"fork":false,"pushed_at":"2013-06-12T14:16:40.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T21:07:39.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/exu.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}},"created_at":"2013-06-12T13:29:21.000Z","updated_at":"2014-03-27T02:12:44.000Z","dependencies_parsed_at":"2022-08-27T22:31:09.609Z","dependency_job_id":null,"html_url":"https://github.com/exu/goimgdata","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/exu%2Fgoimgdata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exu%2Fgoimgdata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exu%2Fgoimgdata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exu%2Fgoimgdata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exu","download_url":"https://codeload.github.com/exu/goimgdata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245691076,"owners_count":20656698,"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":[],"created_at":"2024-10-15T09:54:45.057Z","updated_at":"2025-03-26T16:26:05.023Z","avatar_url":"https://github.com/exu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# img content to data URI in go lang\n\n\n## Usage:\n\nSave example code to some file e.g. `convert.go`\n\n    package main\n\n    import (\n    \t\"github.com/exu/goimgdata\"\n    \t\"os\"\n        \"fmt\"\n    )\n\n    func main() {\n    \tfilename := os.Args[1]\n    \tfmt.Println(goimgdata.Convert(filename))\n    }\n\n\nnext run `go build convert.go` command in your shell, next run\n`./convert PATH_TO_YOUR_JPG_GIF_PNG_IMAGE_FILE`\n\nYou'll need golang (in ubuntu `sudo apt-get install golang`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexu%2Fgoimgdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexu%2Fgoimgdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexu%2Fgoimgdata/lists"}