A CLI program that adopts the PCI model for managing decentralized online identities.

Maintainers

Package info

codeberg.org/haydenwu/sam

Issues

Type:project

pkg:composer/haydenwu/sam

Transparency log

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

v1.0.0 2026-01-20 17:28 UTC

This package is auto-updated.

Last update: 2026-07-18 13:13:46 UTC


README

A CLI program that adopts the PCI model for managing decentralized online identities.

Installation

Install prerequisites:

  • Debian: # apt install php php-sqlite3 composer
  • Arch: # pacman -S php php-sqlite composer

Add the following line to /etc/php/php.ini:

extension=pdo_sqlite

Install the project:

composer global require haydenwu/sam

The sam binary will be available in ~/.config/composer/vendor/bin. You may want to add it to your PATH.

Updating

composer global update

Usage

Usage: sam COMMAND ...
			
Commands:
   help                             show this help
   add <presence(s)>                add presence(s)
   remove <presence(s)>             remove presence(s)
   claim <presence> <claim(s)>      add claim(s) to a presence
   unclaim <presence> <claim(s)>    remove claim(s) from a presence
   identify <presence> <identity>   give an identity to a presence
   unidentify <presence|identity>   remove an identity by name or presence
   list                             list all presences and identities
   info [presence|identity]         show presence/identity information
   export [path]                    export the database as a D2 diagram

License

This program is licensed under the GNU General Public License, version 3. Check LICENSE or gnu.org for a copy of the license.