dalmura / stignore-manager-old

Web interface for interacting with many stignore agents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stignore-manager

Web interface for interacting with many stignore agents

Written in Elm

Rough feature list:

  • Add/Remove/Default Agents
  • Single depth Content Types Listing
  • Multi depth Content Types Listing
  • Colour coded (for context) CT Listing pages
  • Build list of ST Ignore file actions
  • Submit ST Ignore file actions
  • Flush ST Ignore change to underlying folder

Development

Install

  1. Install Elm

Run

  1. Compile elm make src/Main.elm --output elm.js
  2. Run docker run -it --rm --name stignore-manager -p 8000:80 -v $(pwd):/usr/share/nginx/html:ro nginx
  3. Access at http://localhost:8000

Production

  1. (Optional) Build image docker build -t mytag:latest .
  2. Run docker image from ghcr.io/dalmura/stignore-manager:latest or your own registry

Loading Agents

You can optionally make a /agents.json available on the same hostname to load a list of default agents:

wget http://localhost:8000/agents.json

{
  "agents": [
    {
      "name": "Agent #1",
      "host": "https://agent-1.mydomain.com"
    },
    {
      "name": "Agent #2",
      "host": "https://agent-2.mydomain.com"
    }
  ]
}

About

Web interface for interacting with many stignore agents

License:GNU Affero General Public License v3.0


Languages

Language:Elm 98.6%Language:HTML 1.0%Language:Dockerfile 0.2%Language:CSS 0.2%