packingdb

module
v0.0.0-...-bd5b4b1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: GPL-3.0

README ¶

packingdb

The #1 Enterprise solution for making sure you remember all your shit.

packingdb is web scale.

Quick Start

The easiest way to use packingdb is through the mobile-friendly web interface:

go run ./cmd/packingweb

Then open http://localhost:8080 in your browser or phone. The web interface provides:

  • Mobile-optimized responsive design
  • Easy trip creation and management
  • Simple property configuration
  • Touch-friendly packing checkboxes

See static/README.md for more details about the web interface.

Command Line Interface

For the traditional terminal-based interface:

cd cmd/packingdb
go build
./packingdb <trip-file.yml>

Go env setup

Setting up Go is a little more complex than it needs to be. First, set the GOPATH environment variable to point to the root of this repository.

export GOPATH="$(pwd)"

You'll need the promptui module: (TODO: make this versioned!)

go get -v github.com/manifoldco/promptui

Subsequently, if you want to update modules:

go get -u all

Then, you should be able to build and run the program:

go install github.com/ywwg/packingdb && ./bin/packingdb

I created a little shell script that does this, hopefully it works!

Other helpful go utils

You may also want Guru and Godef if you want to set up Eclipse:

export GOPATH="$(pwd)"
go get golang.org/x/tools/cmd/guru
go get github.com/npat-efault/godef
go install golang.org/x/tools/cmd/guru
go install github.com/npat-efault/godef

Then you can point your eclipse project to those binaries.

Running

packingdb has two binaries. An older non-interactive program and a newer promptui-based interactive program. The prompt-based program is much easier to use.

To start a new packing list, just specify a filename where the data will be stored:

./packingdb mytrip.csv

packingdb will ask you some basic questions about the trip, like the number of nights and the minimum and maximum predicted temperatures. Then you'll be presented with a list of all the configured Properties, and you can scroll through the list and select which ones apply to the current trip.

You can change all of these parameters later from the main menu.

You can also edit the packfile yourself. It's simple csv.

Directories ¶

Path Synopsis
cmd
packingcli command
packingdb command
packingdb is the newer interactive readline-based application for creating and editing packing lists.
packingdb is the newer interactive readline-based application for creating and editing packing lists.
packingweb command
packingweb is a web-based frontend for packingdb with REST API
packingweb is a web-based frontend for packingdb with REST API
pkg
logger
Package logger provides leveled logging for packingdb using slog
Package logger provides leveled logging for packingdb using slog

Jump to

Keyboard shortcuts

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