{"id":31638271,"url":"https://github.com/madebyais/kintoun","last_synced_at":"2025-10-07T01:55:07.417Z","repository":{"id":57586487,"uuid":"176236591","full_name":"madebyais/kintoun","owner":"madebyais","description":"A FTP, FTPS, SFTP and local folder to HTTP REST file syncer","archived":false,"fork":false,"pushed_at":"2019-07-11T06:34:18.000Z","size":1489,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T06:33:30.444Z","etag":null,"topics":["ftp","ftps","ftpsync","sftp","sftp-synchronisation"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madebyais.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-18T08:27:00.000Z","updated_at":"2024-01-19T10:26:11.000Z","dependencies_parsed_at":"2022-09-13T12:40:31.520Z","dependency_job_id":null,"html_url":"https://github.com/madebyais/kintoun","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/madebyais/kintoun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebyais%2Fkintoun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebyais%2Fkintoun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebyais%2Fkintoun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebyais%2Fkintoun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madebyais","download_url":"https://codeload.github.com/madebyais/kintoun/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebyais%2Fkintoun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708028,"owners_count":26031932,"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-06T02:00:05.630Z","response_time":65,"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":["ftp","ftps","ftpsync","sftp","sftp-synchronisation"],"created_at":"2025-10-07T01:55:01.647Z","updated_at":"2025-10-07T01:55:07.407Z","avatar_url":"https://github.com/madebyais.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"KINTOUN\n-------\n\n![Build Status](https://travis-ci.org/madebyais/kintoun.svg?branch=master)\n\n#### Background\n\nThere are several projects that I've been working on need for an automation in uploading files from one place to another place.\n\n#### Supports\n\nCurrently, it only supports from `FTP`, `FTPS`, `SFTP`, to `HTTP REST API`.\n\n#### How-to\n\nCopy the sample config file below.\n\n```\nsource:\n  type: sftp\n  host: 0.0.0.0\n  port: 22\n  username: foo\n  password: pass\n\ntarget:\n  type: http\n  host: http://www.kintoun.com/upload-file\n  header:\n    - key: Authorization\n      value: Basic 12345\n  upload:\n    - key: file \n      value: file\n    - key: channel\n      value: CIMB\n\ncron:\n  - name: get-sample-txt\n    every: 5 \n    type: second \n    specific_day: None\n    at: '14:32'\n    task: \n      folder: /upload\n      file: sample.txt\n```\n\nFind below for explanation.\n\n```\nsource:\n  type: sftp \n  host: 0.0.0.0\n  port: 22\n  username: foo\n  password: pass\n```\n`source` is the source data. Currently, KINTOUN only supports SFTP.\n\n`source.type` is can be set to `sftp`, `ftp`, or `ftps` \n\n`source.host` is the host of the sftp server\n\n`source.port` is the port of the sftp server\n\n`source.username` is the username to access ftp server\n\n`source.password` is the password to access ftp server\n\n\n```\ntarget:\n  type: http\n  host: http://www.kintoun.com/upload-file\n  header:\n    - key: Authorization\n      value: Basic 12345\n  upload:\n    - key: file \n      value: file\n    - key: channel\n      value: some_3rd_party\n```\n`target` is the destination where the data will be sent. Currently, KINTOUN only supports HTTP.\n\n`target.type` is set to `http`\n\n`target.host` is the url for the destination server\n\n`target.header` is the header that need to be sent along with the request to destination server\n\n`target.upload` contains the list of form to be sent to the destination server. If the `key` and `value` are same, then KINTOUN will set this as the file object in the multipart form\n\n\n```\ncron:\n  - name: get-sample-txt\n    every: 5 \n    type: second \n    specific_day: None\n    at: '14:32'\n    task: \n      folder: /upload\n      file: sample.txt\n```\n`cron` contains the list of job that will run\n\n`cron.name` is the name of the job\n\n`cron.type` is the type of time, such as second, minute, hour, day\n\n`cron.specific_day` is specific to a day, it should be set to None if `cron.type` is second, minute, or hour. Available list: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday\n\n`cron.at` this only specific to day, about what time job will be run e.g. `15:30`\n\n`cron.task.folder` is the source folder\n\n`cron.task.file` is the source file\n\n#### LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadebyais%2Fkintoun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadebyais%2Fkintoun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadebyais%2Fkintoun/lists"}