{"id":19667274,"url":"https://github.com/willnet/server-for-getimagedata","last_synced_at":"2025-07-08T06:05:57.917Z","repository":{"id":66318920,"uuid":"44419631","full_name":"willnet/server-for-getimagedata","owner":"willnet","description":null,"archived":false,"fork":false,"pushed_at":"2015-10-17T06:21:43.000Z","size":368,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-08T06:02:29.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/willnet.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":"2015-10-17T01:56:53.000Z","updated_at":"2015-10-17T01:59:17.000Z","dependencies_parsed_at":"2023-02-24T17:00:30.347Z","dependency_job_id":null,"html_url":"https://github.com/willnet/server-for-getimagedata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willnet/server-for-getimagedata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fserver-for-getimagedata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fserver-for-getimagedata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fserver-for-getimagedata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fserver-for-getimagedata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willnet","download_url":"https://codeload.github.com/willnet/server-for-getimagedata/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fserver-for-getimagedata/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264206930,"owners_count":23572694,"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-11-11T16:31:31.141Z","updated_at":"2025-07-08T06:05:57.883Z","avatar_url":"https://github.com/willnet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# server-for-getimagedata\n\n- [$.getImageData](http://www.maxnov.com/getimagedata/) を使用するために必要なサーバ\n    - 指定されたURLの画像をbase64に変換し、JSONP形式で返します\n- node.js を使用しています\n- heroku で動かすこともできます\n\n## ローカルで動かす\n\nもし node.js をインストールしていなければインストールします。mac なら\n\n```sh\n$ brew install node\n```\n\nでインストールできます。また、画像処理用にimagemagick(もしくはGraphicsMagick)が必要です。これもインストールしていなければインストールします。\n\n```sh\n$ brew install imagemagick\n```\n\nその後次のようにしてサーバを立ち上げます。\n\n\n```sh\n$ git clone https://github.com/willnet/server-for-getimagedata.git\n$ cd server-for-getimagedata\n$ npm install\n$ npm start\n```\n\n`http://localhost:5000/?url=画像のURL\u0026callback=コールバック用の関数名` でアクセスできます。ちゃんと動いているかどうか、適当な画像のURLとコールバック名を指定して試してみると良いでしょう。\n\n\n## Deploying to Heroku\n\n```\n$ heroku create\n$ git push heroku master\n$ heroku open\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillnet%2Fserver-for-getimagedata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillnet%2Fserver-for-getimagedata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillnet%2Fserver-for-getimagedata/lists"}