emitt

(★ 36)

Inbound email processing server with LLM-powered automation

파일 탐색기

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

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

git clone

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

원격 API 및 로컬에서 설치 및 실행할 수 있는 모델을 통해 대형 언어 모델(LLM)과 상호 작용.
더 많은 정보: <https://llm.datasette.io/en/stable/help.html>.

llm keys set openai

OpenAI API 키 설정:

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

프롬프트 실행:

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

파일에 대해 [s]시스템 프롬프트 실행:

🔍

telnet

설명 보기 ▼

telnet 프로토콜을 사용해 호스트의 특정 포트에 연결합니다.
더 많은 정보: <https://manned.org/telnet>.

telnet {{host}}

호스트의 기본 포트에 Telnet 연결:

telnet {{ip_address}} {{port}}

호스트의 특정 포트에 Telnet 연결:

quit

Telnet 세션 종료:

🔍

swaks

설명 보기 ▼

스위스 아미 나이프 SMTP, 다목적 SMTP 트랜잭션 테스터.
더 많은 정보: <https://github.com/jetmore/swaks/blob/develop/doc/base.pod>.

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

`test-server.example.net`의 포트 25에 `[email protected]`으로 표준 테스트 이메일 전송:

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

사용자 `[email protected]`으로 CRAM-MD5 인증을 요구하며 표준 테스트 이메일 전송. 이메일 본문에 "X-Test" 헤더 추가:

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

첨부 파일로 EICAR을 사용하여 바이러스 스캐너 테스트. 메시지 DATA 부분은 표시하지 않음:

🔍

systemctl daemon-reload

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

Start systemd units.

systemctl start {{unit}}

Start a unit:

systemctl start {{unit}} --user

Start a user unit:

🔍

ufw allow

설명 보기 ▼

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

설명 보기 ▼

프로세스, 세션 및 원격 데스크톱 세션 호스트 서버에 대한 정보를 표시합니다.
더 많은 정보: <https://learn.microsoft.com/windows-server/administration/windows-commands/query>.

query session

모든 사용자 세션 표시:

query session /server:{{hostname}}

원격 컴퓨터의 현재 사용자 세션 표시:

query user

로그인한 사용자 표시:

// repository documentation