Go, Python, Spring, ASP.NET, Angular, React, NGINX, ...
$ devkit template golang
> App Name: demo
$ ls demo
Dockerfile chart go.mod main.go public skaffold.yaml
- Databases: PostgreSQL, MariaDB, Redis, Elasticsearch, ...
- Messaging: ActiveMQ, RabbitMQ, Kafka, ...
- Tools: Jenkins, SonarQube, Mailpit, ...
- Storage: MinIO, Vault, Artifactory, Nexus, ...
$ devkit postgres create
HAPPY_MAHAVIRA (f046e1237937)
ENDPOINT TARGET
localhost:55095 tcp://172.17.0.5:5432
DESCRIPTION VALUE
Database db
Username postgres
Password r02ZxXR1E5
URI postgresql://postgres:r02ZxXR1E5@localhost:55095/db?sslmode=disable
$ devkit postgres list
happy_mahavira
$ devkit postgres info
> happy_mahavira
HAPPY_MAHAVIRA (f046e1237937)
ENDPOINT TARGET
localhost:55095 tcp://172.17.0.5:5432
DESCRIPTION VALUE
Database db
Username postgres
Password r02ZxXR1E5
URI postgresql://postgres:r02ZxXR1E5@localhost:55095/db?sslmode=disable
$ devkit postgres logs
> happy_mahavira
2024-07-14 12:09:29.661 UTC [1] LOG: database system is ready to accept connections
$ devkit postgres cli
> happy_mahavira
psql (16.3 (Debian 16.3-1.pgdg120+1))
Type "help" for help.
db=#
$ devkit postgres shell
> happy_mahavira
root@f046e1237937:/#
$ devkit postgres delete
> happy_mahavira
Static Analysis (using Semgrep)
$ devkit sast
Vulnerability Scanning (using Trivy)
$ devkit scan
Lines of Code (using cloc)
$ devkit cloc
$ devkit git blobs
Find leaks (using Gitleaks)
$ devkit git leaks
$ devkit git purge /path/to/file1 /path/to/file2
Inspect (using Whaler)
$ devkit image inspect --image ubuntu
Dockerfile Linting (using Dockle)
$ devkit image lint --image ubuntu
Vulnerability Scanning (using Trivy)
$ devkit image scan --image ubuntu
Show Bill of Material (using Syft)
$ devkit image bom --image ubuntu
TUI Browser (using Dive)
$ devkit image browse --image ubuntu
$ devkit code
> default
NAME VALUE
URL http://localhost:3000
Forward /Users/User/Projects to /workspace
Simple File Server with CORS and optional SPA support
$ devkit server [--port 3000] [--spa] [--index index.html]
Test your application for proxy support
$ devkit proxy [--port 3128] [--user username] [--password password]
brew install adrianliechti/tap/devkit
scoop bucket add adrianliechti https://github.com/adrianliechti/scoop-bucket
scoop install adrianliechti/devkit