{"id":25547000,"url":"https://github.com/fishjar/kiss-worker","last_synced_at":"2025-04-23T20:04:07.993Z","repository":{"id":184980216,"uuid":"671827566","full_name":"fishjar/kiss-worker","owner":"fishjar","description":"A simple data sync service for KISSS-Translator.","archived":false,"fork":false,"pushed_at":"2024-09-24T15:29:12.000Z","size":94,"stargazers_count":95,"open_issues_count":1,"forks_count":38,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T01:15:31.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/fishjar.png","metadata":{"files":{"readme":"README.en.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":"2023-07-28T08:21:52.000Z","updated_at":"2025-03-07T03:24:20.000Z","dependencies_parsed_at":"2025-03-16T01:12:59.427Z","dependency_job_id":null,"html_url":"https://github.com/fishjar/kiss-worker","commit_stats":null,"previous_names":["fishjar/kiss-worker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fishjar%2Fkiss-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fishjar%2Fkiss-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fishjar%2Fkiss-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fishjar%2Fkiss-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fishjar","download_url":"https://codeload.github.com/fishjar/kiss-worker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246269928,"owners_count":20750320,"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":"2025-02-20T09:19:08.470Z","updated_at":"2025-03-30T03:02:50.459Z","avatar_url":"https://github.com/fishjar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KISS-WORKER\n\nA simple data sync service for [KISS-Translator](https://github.com/fishjar/kiss-translator).\n\nThere are two deployment methods to choose from:\n\n## `cloudflare workers` deployment method\n\n### Prerequisites\n\n- [Cloudflare](https://www.cloudflare.com/) account\n- Install `git` + `nodejs` locally when deploying\n- A domain name (optional)\n\n### Deployment steps\n\n1. Log in to the Cloudflare management panel and go to the path `dashboard \u003e select Workers \u0026 Pages \u003e KV`. Create a namespace with whatever name you want. After creation, a `namespace ID` will be obtained.\n\n2. Clone the project, modify the `wrangler.toml` file, and replace the `namespace ID` obtained in the previous step to the position of `id`.\n\n```toml\n# wrangler.toml\nkv_namespaces = [\n    { binding = \"KV\", id = \"replace you id here!!!\" }\n]\n```\n\n3. Execute the following commands in sequence. When the execution is completed, you will be asked to set your own password. You may need to connect to Cloudflare authorization when deploying for the first time.\n\n```sh\nyarn install\nyarn deploy\n```\n\n4. (Optional) Log in to the Cloudflare management panel, enter the path `dashboard \u003e select Workers \u0026 Pages \u003e kiss-worker`, click the `Trigger` tab, and then click `Add Custom Domain` to add a domain name to access.\n\n## `docker` deployment method\n\n### Prerequisites\n\n- Own server\n- `docker` related knowledge\n\n### Deployment steps\n\n1. Clone the project and modify the `docker-compose.yml` file to change the characters after `APP_KEY` to your own password.\n\n```yml\nversion: \"3.1\"\nservices:\n  kiss-worker:\n    image: fishjar/kiss-worker\n    environment:\n      PORT: 8080\n      APP_KEY: 123456 # Change password here\n      APP_DATAPATH: data\n    ports:\n      - 8080:8080\n    volumes:\n      - ./data:/app/data\n```\n\n2. Execute the following command to start\n\n```sh\ndocker-compose up -d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffishjar%2Fkiss-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffishjar%2Fkiss-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffishjar%2Fkiss-worker/lists"}