{"id":14155434,"url":"https://github.com/GoSome/fileUpdater","last_synced_at":"2025-08-06T01:31:23.767Z","repository":{"id":39669962,"uuid":"233541940","full_name":"GoSome/fileUpdater","owner":"GoSome","description":"A WEB EDITOR FOR update linux config files with hook","archived":false,"fork":false,"pushed_at":"2024-05-02T01:33:59.000Z","size":12745,"stargazers_count":15,"open_issues_count":19,"forks_count":2,"subscribers_count":2,"default_branch":"new","last_synced_at":"2024-08-17T08:05:17.883Z","etag":null,"topics":["admin","file","golang","linux","posthook","prehook","vue","webeditor"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoSome.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-01-13T07:59:57.000Z","updated_at":"2024-06-15T00:02:45.000Z","dependencies_parsed_at":"2024-05-02T02:52:41.711Z","dependency_job_id":"f5a9df01-9003-41a9-95cf-9cb97c3e5079","html_url":"https://github.com/GoSome/fileUpdater","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoSome%2FfileUpdater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoSome%2FfileUpdater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoSome%2FfileUpdater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoSome%2FfileUpdater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoSome","download_url":"https://codeload.github.com/GoSome/fileUpdater/tar.gz/refs/heads/new","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228821405,"owners_count":17977166,"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":["admin","file","golang","linux","posthook","prehook","vue","webeditor"],"created_at":"2024-08-17T08:03:12.241Z","updated_at":"2024-12-09T02:31:22.443Z","avatar_url":"https://github.com/GoSome.png","language":"JavaScript","funding_links":[],"categories":["vue"],"sub_categories":[],"readme":"# fileUpdater \n\u003cimg align=\"right\" width=\"160px\" src=\"https://raw.githubusercontent.com/GoSome/fileUpdater/master/logo/fileupdater.png\"\u003e\n\n\nThe file updater helps you use a web page with an editor to update your files and trigger the related command hooks.\nJust a single binary file (thanks golang!)\n\n\n## features\n* easy deploy (single binary file)\n* pre command hook\n* post command hook\n* command exec timeout (todo)\n* auto backup\n* daemon\n* update itself\n* low memory require\n* exec shell command\n* tiny init (simple superviosr)(todo)\n* basic auth (todo)\n## How to use it\n\n\u003e| Linux\n\n1. get the binary\n```bash\nwget https://github.com/GoSome/fileUpdater/releases/download/v0.2.3/fileupdater-amd64-linux\nchmod +x fileupdater-amd64-linux\n```\n2. create simple config\n\nconfig.yaml\n```yaml\n\nserver_port: \"8080\"\nserver_host: \"0.0.0.0\"\nupdaters:\n  - name: test1\n    path: /tmp/test.txt\n    backup: false\n    pre_hook:\n      mode: strict\n      commands:\n        - ls -lha\n\n```\n\n3. just run\n\n```yaml\n./fileupdater-amd64-linux -i -config config.yaml\n```\n## UI\n\n![fileUpdater](./ui.png)\n\n\n## Hook Seq\n\n```bash\nPRE -\u003e WRITE -\u003e POST\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoSome%2FfileUpdater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGoSome%2FfileUpdater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoSome%2FfileUpdater/lists"}