{"id":22938084,"url":"https://github.com/sandy98/bluestar","last_synced_at":"2026-05-17T04:35:19.909Z","repository":{"id":143861665,"uuid":"110216553","full_name":"sandy98/bluestar","owner":"sandy98","description":"Tiny node.js based utility to encode image files to base 64 strings suitable to be embedded in web pages","archived":false,"fork":false,"pushed_at":"2022-09-17T13:49:16.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T12:13:35.710Z","etag":null,"topics":["image-processing","nodejs","pkg"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/sandy98.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":"2017-11-10T07:27:31.000Z","updated_at":"2025-04-27T02:09:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f832a1c-11d1-430e-80b4-eca31ac49cf9","html_url":"https://github.com/sandy98/bluestar","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/sandy98%2Fbluestar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandy98%2Fbluestar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandy98%2Fbluestar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandy98%2Fbluestar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandy98","download_url":"https://codeload.github.com/sandy98/bluestar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandy98%2Fbluestar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258828311,"owners_count":22763925,"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":["image-processing","nodejs","pkg"],"created_at":"2024-12-14T12:15:58.121Z","updated_at":"2026-05-17T04:35:19.843Z","avatar_url":"https://github.com/sandy98.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bluestar\n\nTiny node.js based utility to convert images to base64 encoded string suitable to be embedded in web pages.\n\n\n## Install\n\nEither\n\n```sh\ngit clone https://github.com/sandy98/bluestar.git\n\ncd bluestar\n\nnpm install\n\nnpm build\n\n```\n\nor\n\n```sh\nsudo npm install -g bluestar\n```\n\nIn the first case you get an executable version of the script: bluestar and 3 binary executables: bluestar-linux, bluestar.macos and bluestar-win.exe.\n\nYou can choose to copy your OS specific executable within a location in your path and you're done.\n\nIn the second case, npm or yarn install, you get a system wide available version of the executable script.\n\n\n## Usage\n\nThis is the simplest part: just do \n```sh \nbluestar whatever.png \n```\nand get 2 files: whatever.b64 and whatever.html, which is a ready made html file to test the created image.\n\nWith version 0.1.1 onwards, you also can import/require convert function for usage in your own apps, like so:\n\n```js\nconst convert = require('bluestar');\nconvert('photo.gif', (err, data) =\u003e {\n  if (err) console.error(\"Error No: \" + err.number + \" \" + err.message)\n  else console.log(data)});\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandy98%2Fbluestar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandy98%2Fbluestar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandy98%2Fbluestar/lists"}