vidi

module
v0.0.0-...-08be412 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2026 License: MIT

README ยถ

VIDI (Validate, Integrate, Data, Input)

A lightweight, standard-library-only Go middleware for processing HTML forms. VIDI converts form submissions into structured data (JSON, XML, or SQL) and persists them to various backends (Filesystem, In-Memory, or PostgreSQL-ready interfaces). It also supports GET requests as dynamic queries against stored data.

Features

  • ๐Ÿ› ๏ธ Zero External Dependencies: Built entirely with the Go standard library.
  • ๐Ÿ’พ Pluggable Storage: Supports Filesystem (JSON files) and In-Memory backends out of the box.
  • ๐Ÿ”„ Multi-Format Output: Automatically converts data to JSON, XML, or SQL INSERT statements.
  • ๐Ÿ” Query Engine: GET requests with query parameters act as filters against stored data.
  • ๐Ÿงฉ Modular Design: Can be layered with VENI (frontend components) and VICI (auth/context).
  • ๐Ÿš€ Drop-in Middleware: Wraps http.FileServer seamlessly.

Quick Start

Installation
git clone https://github.com/Emperor42/vidi.git
cd vidi
make run

Directories ยถ

Path Synopsis
cmd
server command
examples
basic command
pkg
converter
Package converter provides data transformation utilities for the VIDI middleware.
Package converter provides data transformation utilities for the VIDI middleware.
storage
Package storage provides pluggable storage backends for the VIDI middleware.
Package storage provides pluggable storage backends for the VIDI middleware.
vidi
Package vidi provides middleware for processing HTML form submissions in Go applications.
Package vidi provides middleware for processing HTML form submissions in Go applications.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL