domainforge

command module
v0.0.0-...-ce51b0c Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 23 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

domainforge

DomainForge is a low-overhead tool that allows you to manage local domains and their associated ports. It streamlines setting up secure local development environments with HTTPS.

Requirements

  • caddy-server: Acts as the local web server with automatic HTTPS.
  • Go: Used to install domainforge as it’s a Go-based tool.

Installation

To install Run:
go install github.com/triplemcoder14/domainforge@latest

Usage

Prerequisite

Ensure caddy-server is installed and running.

Commands

  • Start the service (foreground mode):
domainforge start
  • Start the service (detached mode):
domainforge start -d
  • Add a new domain (e.g., hello.local on port 3000):
domainforge add hello --port 3000

Access it at https://hello.local

  • Remove a domain name
domainforge remove hello
  • List all configured domains:
domainforge list
  • Stop the service
domainforge stop

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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