{"id":19884683,"url":"https://github.com/rincat/misskey_emoji_uploader","last_synced_at":"2025-09-05T07:36:17.549Z","repository":{"id":244204654,"uuid":"814564905","full_name":"RinCat/misskey_emoji_uploader","owner":"RinCat","description":"[MIRROR] A python script that upload emojis to Misskey instance","archived":false,"fork":false,"pushed_at":"2025-03-24T14:05:47.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T15:24:21.677Z","etag":null,"topics":["misskey","misskey-api"],"latest_commit_sha":null,"homepage":"https://git.rincat.dev/RinCat/misskey_emoji_uploader","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RinCat.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-13T08:57:30.000Z","updated_at":"2025-03-24T14:05:50.000Z","dependencies_parsed_at":"2024-06-13T12:11:59.031Z","dependency_job_id":"f773da87-af08-4910-819b-cf4b6dc9ecbf","html_url":"https://github.com/RinCat/misskey_emoji_uploader","commit_stats":null,"previous_names":["rincat/misskey_emoji_upload"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RinCat/misskey_emoji_uploader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RinCat%2Fmisskey_emoji_uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RinCat%2Fmisskey_emoji_uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RinCat%2Fmisskey_emoji_uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RinCat%2Fmisskey_emoji_uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RinCat","download_url":"https://codeload.github.com/RinCat/misskey_emoji_uploader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RinCat%2Fmisskey_emoji_uploader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273727632,"owners_count":25157132,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["misskey","misskey-api"],"created_at":"2024-11-12T17:28:57.731Z","updated_at":"2025-09-05T07:36:17.524Z","avatar_url":"https://github.com/RinCat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Upload emojis to Misskey instance\n\nThis Python script will upload emojis from a local file or directory to the\nMisskey instance using the Misskey API.\n\n## Emoji name\n\nThe file name will be used as the emoji name.\n\n**Antything after the first \".\" in the file name will be ignored.**\n\nThe emoji name will be converted to lowercase and \"-\" will be replaced with \"_\".\n\nUse non-alphanumeric characters as the emoji name is not recommended.\nYou will run into compatibility issues when using them.\n\n## Requirements\n\nPython 3.9+ is required to run this script.\n\nPython \"requests\" library is required.\n\n## User API Token\n\nUser needs to provide misskey instance URL and token as environment variables.\n\n`MISSKEY_URL`: URL of the Misskey instance, e.g. `https://example.com`\n\n`MISSKEY_TOKEN`: User token for the Misskey instance. Sometimg like\n`UgBX0DQprCwKrqRTfqTaoADy3QnVhThz`\n\nYou can create the token from the Misskey settings page.\n`https://example.com/settings/api`\n\nMake sure the API token has the necessary permissions to upload emojis.\nYou will most likely need to be an admin to upload emojis.\n\nThe following permissions are required:\n\n- Access your Drive files and folders\n- Edit or delete your Drive files and folders\n- Manage emoji\n- View emoji\n\nThe files will be uploaded to the API token owner's Drive.\n\n## Usage\n\nSet the environment variable \"MISSKEY_URL\" and \"MISSKEY_TOKEN\" before running:\n\n```bash\nexport MISSKEY_URL=\"https://example.com\"\nexport MISSKEY_TOKEN=\"your_token_here\"\n./misskey_emoji_uploader.py /path/to/emojis\n```\n\nCheck the help for more options:\n\n```bash\n./misskey_emoji_uploader.py --help\n```\n\nContrct `@RinCat@pika.moe` on any ActivityPub if you have any questions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frincat%2Fmisskey_emoji_uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frincat%2Fmisskey_emoji_uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frincat%2Fmisskey_emoji_uploader/lists"}