{"id":20780871,"url":"https://github.com/x4e/ktor-sharex","last_synced_at":"2025-10-08T23:09:03.877Z","repository":{"id":138137311,"uuid":"246079079","full_name":"x4e/ktor-sharex","owner":"x4e","description":"ShareX in Kotlin using Ktor","archived":false,"fork":false,"pushed_at":"2020-03-10T10:07:35.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T22:34:27.017Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/x4e.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":"2020-03-09T15:56:21.000Z","updated_at":"2024-06-06T12:50:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"9fc0b8ba-027c-4f33-8b04-82b614939eab","html_url":"https://github.com/x4e/ktor-sharex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/x4e/ktor-sharex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x4e%2Fktor-sharex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x4e%2Fktor-sharex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x4e%2Fktor-sharex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x4e%2Fktor-sharex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/x4e","download_url":"https://codeload.github.com/x4e/ktor-sharex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x4e%2Fktor-sharex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000729,"owners_count":26082862,"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-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2024-11-17T13:39:48.771Z","updated_at":"2025-10-08T23:09:03.814Z","avatar_url":"https://github.com/x4e.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ktor ShareX\nShareX in Kotlin using Ktor\n\n## Usage\n```Kotlin\nfun Application.module() {\n\tinstall(ShareX) {\n\t\ttoken = \"verysecrettokenhere\"\n\t}\n\t\n\troute(\"sharex\") {\n\t\tshareXUpload(\"upload\")\n\t\tshareXHost(\"get\")\n\t}\n\t\n\thost(Regex(\"i\\\\..+\")) {\n\t\tshareXHost()\n\t}\n}\n```\nThis will create an upload endpoint at example.com/sharex/upload, and hosting endpoints at both example.com/sharex/get and i.example.com\n\n\nShareX config:\n```Json\n{\n  \"Version\": \"12.4.1\",\n  \"Name\": \"KtorShareX\",\n  \"DestinationType\": \"ImageUploader, TextUploader, FileUploader\",\n  \"RequestMethod\": \"POST\",\n  \"RequestURL\": \"https://[websiteURL]/sharex/upload\",\n  \"Body\": \"MultipartFormData\",\n  \"Arguments\": {\n    \"token\": \"verysecrettokenhere\"\n  },\n  \"FileFormName\": \"file\",\n  \"URL\": \"https://i.[websiteURL]/$response$\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx4e%2Fktor-sharex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx4e%2Fktor-sharex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx4e%2Fktor-sharex/lists"}