{"id":19144355,"url":"https://github.com/danbooru/upload-to-danbooru","last_synced_at":"2025-05-07T01:13:03.915Z","repository":{"id":43133223,"uuid":"283000160","full_name":"danbooru/upload-to-danbooru","owner":"danbooru","description":"WebExtension adding a context menu option for images to upload to Danbooru.","archived":false,"fork":false,"pushed_at":"2025-03-04T15:59:29.000Z","size":1801,"stargazers_count":19,"open_issues_count":5,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T17:16:39.083Z","etag":null,"topics":["chrome-extension","danbooru","firefox-extension","javascript","webextension"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danbooru.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":"2020-07-27T19:48:29.000Z","updated_at":"2025-03-04T15:59:33.000Z","dependencies_parsed_at":"2024-08-26T18:16:06.770Z","dependency_job_id":"9d1b28a4-35ed-402b-afb9-0ec3771fbe19","html_url":"https://github.com/danbooru/upload-to-danbooru","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbooru%2Fupload-to-danbooru","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbooru%2Fupload-to-danbooru/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbooru%2Fupload-to-danbooru/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbooru%2Fupload-to-danbooru/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danbooru","download_url":"https://codeload.github.com/danbooru/upload-to-danbooru/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793656,"owners_count":21805058,"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":["chrome-extension","danbooru","firefox-extension","javascript","webextension"],"created_at":"2024-11-09T07:34:37.416Z","updated_at":"2025-05-07T01:13:03.897Z","avatar_url":"https://github.com/danbooru.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Upload to Danbooru Web Extension\n\nAdd a page action and a context menu option (for images) to upload to ![cardboard box](/danbooru.svg) Danbooru. Replacement for [bookmarklets](https://danbooru.donmai.us/static/bookmarklet).\n\n## Install\n\n* [Firefox](https://addons.mozilla.org/en-US/firefox/addon/upload-to-danbooru/)\n* [Chrome](https://chrome.google.com/webstore/detail/upload-to-danbooru/faoifiojjmdkjpgkjpikkjdfocdjjpla)\n\n## Usage\n\n### Page Action\n\n![Page action demo](/screenshots/page-action.png)\n\nJust visit any Danbooru-supported page, then click ![cardboard box](/danbooru.svg) icon in the address bar.\n\n### Context Menu\n\n![Context menu demo](/screenshots/context-menu.png)\n\nRight click on any image, select \"Upload to Danbooru\".\n\n## Build\n\n```sh\nnpm i\nnpm run build       # Firefox\nnpm run buildChrome # Chrome\n```\n\nExtension package will be located in `web-ext-artifacts/` folder.\n\n## Run Tests\n\n```sh\nnpm test\n```\n\n## Install In Developer Mode\n\n### Firefox\n\n* Open `about:debugging#/runtime/this-firefox`\n* Click `Load Temporary Add-on`\n* Select `src/manifest.json` file\n\n### Chrome\n\nMake sure you have built extension.\n\n* Open Chrome Settings\n* Select Extensions\n* Enable developer mode\n* Click Load Unpacked\n* Select `dist/` folder\n\n### web-ext\n\nFirefox (sandbox):\n\n```sh\nnpx web-ext run\n```\n\n[Android](https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/#testing-in-firefox-for-android):\n\n```sh\nnpx web-ext run --firefox-apk org.mozilla.fenix --target=firefox-android --android-device=DEVICE_ID\n```\n\nReplace `DEVICE_ID` with id of the device from `adb devices`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanbooru%2Fupload-to-danbooru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanbooru%2Fupload-to-danbooru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanbooru%2Fupload-to-danbooru/lists"}