Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GoSome/fileUpdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

84 Commits

Repository files navigation

fileUpdater

The file updater helps you use a web page with an editor to update your files and trigger the related command hooks. Just a single binary file (thanks golang!)

features

  • easy deploy (single binary file)
  • pre command hook
  • post command hook
  • command exec timeout (todo)
  • auto backup
  • daemon
  • update itself
  • low memory require
  • exec shell command
  • tiny init (simple superviosr)(todo)
  • basic auth (todo)

How to use it

| Linux

  1. get the binary
wget https://github.com/GoSome/fileUpdater/releases/download/v0.2.3/fileupdater-amd64-linux
chmod +x fileupdater-amd64-linux
  1. create simple config

config.yaml

server_port: "8080"
server_host: "0.0.0.0"
updaters:
 - name: test1
 path: /tmp/test.txt
 backup: false
 pre_hook:
 mode: strict
 commands:
 - ls -lha
  1. just run
./fileupdater-amd64-linux -i -config config.yaml

UI

fileUpdater

Hook Seq

PRE -> WRITE -> POST

About

A WEB EDITOR FOR update linux config files with hook

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

AltStyle によって変換されたページ (->オリジナル) /