yabm

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

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 1 Imported by: 0

README

yabm

Yet Another Boomark Manager

Install

git clone git@github.com:fandreuz/yabm.git
cd yabm
go install .
Install shell completion

See here.

Database

This CLI is backed by a database. To run a local Postgres DB locally:

podman run -it --rm \
    -p 5432:5432 \
    -e POSTGRES_DB=admin \
    -e POSTGRES_USER=admin \
    -e POSTGRES_PASSWORD=pwd \
    -v ./dev/db:/docker-entrypoint-initdb.d \
    postgres

Image docs here.

Persisting data

The command above will spin up a local DB which won't persist any data upon restart. You can optionally mount a volume to persist DB data:

    PGDATA=/var/lib/postgresql/data
    ...
    -e "PGDATA=$PGDATA" \
    -v "./.postgres-data:$PGDATA" \
    ...
Script

A script to run a local DB via Podman with persistence in ./.postgres-data is provided here.

Documentation

Overview

Copyright © 2024 Francesco Andreuzzi <andreuzzi.francesco@gmail.com>

Directories

Path Synopsis
cmd
tag

Jump to

Keyboard shortcuts

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