{"id":13498717,"url":"https://github.com/copriwolf/serverless-transitcode","last_synced_at":"2025-03-29T01:32:24.433Z","repository":{"id":92722942,"uuid":"279597321","full_name":"copriwolf/serverless-transitcode","owner":"copriwolf","description":"一个用于转码/加解密的 Tencent Serverless 云函数。a tencent serverless application for converting codes(base64, url, html, unicode, utf8\u003c\u003eGBK)","archived":false,"fork":false,"pushed_at":"2020-07-16T08:59:03.000Z","size":5873,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-10-31T16:37:46.736Z","etag":null,"topics":["base64","converter","go","html","serverless","unicode","url","utf8"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/copriwolf.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}},"created_at":"2020-07-14T13:47:18.000Z","updated_at":"2023-06-27T02:39:31.000Z","dependencies_parsed_at":"2023-08-22T09:47:52.476Z","dependency_job_id":null,"html_url":"https://github.com/copriwolf/serverless-transitcode","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copriwolf%2Fserverless-transitcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copriwolf%2Fserverless-transitcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copriwolf%2Fserverless-transitcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copriwolf%2Fserverless-transitcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/copriwolf","download_url":"https://codeload.github.com/copriwolf/serverless-transitcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246126040,"owners_count":20727519,"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":["base64","converter","go","html","serverless","unicode","url","utf8"],"created_at":"2024-07-31T21:00:41.437Z","updated_at":"2025-03-29T01:32:24.174Z","avatar_url":"https://github.com/copriwolf.png","language":"Go","funding_links":[],"categories":["应用场景"],"sub_categories":["转码/加解密"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./images/banner.png\"\u003e\n  \u003cbr/\u003e\n  \u003cb\u003e 一个用于转码/加解密的 Serverless 云函数。 \u003c/b\u003e\n  \u003cbr /\u003e\n  \u003cb\u003e a serverless application for converting codes(base64, url, html, unicode, utf8\u003c\\\u003eGBK) \u003c/b\u003e\n\u003c/p\u003e\n\n## 涉及云函数操作\n- **触发器**：API 网关\n- **代码配置** ：本地上传 zip 包\n\n## 目前支持的格式\n- [X] **Base64**         加/解密 \n- [X] **Html**              编码/解码\n- [X] **Url**                  编码/解码\n- [X] **Unicode**        编码/解码\n- [X] **Utf8\u003c=\\\u003eGBK** 编码/解码 \n\n## 操作\n\n根据命令行生成一个执行文件的压缩包\n\n```console\n$ chmod 755 src/build.sh\n$ ./src/build.sh\n```\n\n上传压缩到「腾讯云」云函数-函数服务-函数管理-函数代码中。\n\n## 请求结构\n\n```json\n{\n    \"opt\": 1,\n    \"content\": \"测试编码与转码 https://or2.in/#check\"\n}\n```\n\n## 返回案例\n\n```json\n{\n    \"origin\": \"测试编码与转码 https://or2.in/#check\",\n    \"base64\": \"5rWL6K+V57yW56CB5LiO6L2s56CBIGh0dHBzOi8vb3IyLmluLyNjaGVjaw==\",\n    \"html\": \"测试编码与转码 https://or2.in/#check\",\n    \"unicode\":\"\\测\\试\\编\\码\\与\\转\\码 https://or2.in/#check\",\n    \"url\": \"%E6%B5%8B%E8%AF%95%E7%BC%96%E7%A0%81%E4%B8%8E%E8%BD%AC%E7%A0%81+https%3A%2F%2For2.in%2F%23check\",\n    \"utf8ToGbk\": \"���Ա�����ת�� https://or2.in/#check\"\n}\n```\n\n## 展示\n\n![](./images/demo.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopriwolf%2Fserverless-transitcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcopriwolf%2Fserverless-transitcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopriwolf%2Fserverless-transitcode/lists"}