emitt

(★ 36)

Inbound email processing server with LLM-powered automation

File Explorer

  • .gitignore
  • config.yaml.example
  • go.mod
  • go.sum
  • install.sh
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

go build

View Details ▼

Compile Go sources.

go build {{path/to/main.go}}

Compile a 'package main' file (output will be the filename without extension):

go build -o {{path/to/binary}} {{path/to/source.go}}

Compile, specifying the output filename:

go build -o {{path/to/binary}} {{path/to/package}}

Compile a package:

🔍

llm

View Details ▼

Interact with Large Language Models (LLMs) via remote APIs and models that can be installed and run on your machine.

llm keys set openai

Set up an OpenAI API Key:

llm "{{Ten fun names for a pet pelican}}"

Run a prompt:

cat {{path/to/file.py}} | llm {{[-s|--system]}} "{{Explain this code}}"

Run a system prompt against a file:

🔍

telnet

View Details ▼

Connect to a specified port of a host using the telnet protocol.

telnet {{host}}

Telnet to the default port of a host:

telnet {{ip_address}} {{port}}

Telnet to a specific port of a host:

quit

[Interactive] Exit a telnet session:

🔍

swaks

View Details ▼

Swiss Army Knife SMTP, the all-purpose SMTP transaction tester.

swaks {{[-t|--to]}} {{[email protected]}} {{[-s|--server]}} {{test-server.example.net}}

Deliver a standard test email to `[email protected]` on port 25 of `test-server.example.net`:

swaks {{[-t|--to]}} {{[email protected]}} {{[-f|--from]}} {{[email protected]}} {{[-a|--auth]}} {{CRAM-MD5}} {{[-au|--auth-user]}} {{[email protected]}} --header-X-Test "{{test_email}}"

Deliver a standard test email, requiring CRAM-MD5 authentication as user `[email protected]`. An "X-Test" header will be added to the email body:

swaks {{[-t|--to]}} {{[email protected]}} --attach - {{[-s|--server]}} {{test-server.example.com}} {{[-n|--suppress-data]}} {{path/to/eicar.txt}}

Test a virus scanner using EICAR in an attachment. Don't show the message DATA part:

🔍

systemctl daemon-reload

View Details ▼

Reload systemd manager configuration.
Use this after creating, modifying, or deleting unit files.
See also: `systemctl reload`.

systemctl daemon-reload

Reload systemd to apply changes in unit files:

🔍

systemctl enable

View Details ▼

Enable systemd services.
See also: `systemctl revert`.

systemctl enable {{unit}}

Enable a service to run on boot:

systemctl enable {{unit}} --now

Enable a service to run on boot and start it now:

systemctl enable {{unit}} --user

Enable a user unit to run on login:

🔍

systemctl start

View Details ▼

Start systemd units.

systemctl start {{unit}}

Start a unit:

systemctl start {{unit}} --user

Start a user unit:

🔍

ufw allow

View Details ▼

Allow traffic through the firewall.

sudo ufw allow {{port}}

Allow all traffic on a port:

sudo ufw allow {{port}}/{{protocol}}

Allow traffic for a protocol on a port:

sudo ufw allow in {{protocol}} comment '{{comment}}'

Allow incoming traffic for a protocol and add a comment for documentation:

🔍

query

View Details ▼

Display information about user sessions and process.

query session

Display all user sessions:

query session /server:{{hostname}}

Display the current user sessions on a remote computer:

query user

Display logged in users:

// repository documentation