gua

(★ 40)

Multi-tenant AI agent server that bridges messaging platforms with AI backends through a fully decoupled architecture.

파일 탐색기

  • .gitignore
  • .golangci.yml
  • .goreleaser.yml
  • go.mod
  • go.sum
  • LICENSE
  • Makefile
  • README.md

# CDN으로 사용하기

jsDelivr

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

명령어 용어집

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

🔍

codex

설명 보기 ▼

OpenAI로 구동되는 터미널용 자연어 코드 어시스턴트.
요청을 수행하기 위해 현재 디렉터리의 파일을 읽고 수정.
더 많은 정보: <https://developers.openai.com/codex/cli/reference>.

codex

현재 디렉터리에서 대화형 Codex 세션을 시작:

codex "{{prompt}}"

프롬프트를 사용해 단일 Codex 명령을 실행:

codex --sandbox workspace-write "{{prompt}}"

프롬프트를 전체 자동 모드로 실행:

🔍

rename

설명 보기 ▼

정규 표현식 (`regex`)을 사용하여 하나 이상의 파일 이름을 변경.
경고: dry-run 옵션을 사용하지 않으면 확인 없이 기존 파일을 덮어쓸 수 있음.
참고: 이 문서는 `file-rename`으로도 알려진 Perl 버전의, rename을 다룸.
더 많은 정보: <https://manned.org/prename>.

rename 's/{{from}}/{{to}}/' {{*.txt}}

지정한 파일 이름에서 `from`을 `to`로 변경:

rename {{foo}} {{bar}} {{*}}

Rename files using simple substitutions (substitute `foo` with `bar` wherever found):

rename -n 's/{{from}}/{{to}}/' {{*.txt}}

Dry-run 수행 - 실제 변경 없이 변경될 내용만 표시:

🔍

select

설명 보기 ▼

메뉴를 생성하기 위한 Bash 내장 구조.
더 많은 정보: <https://www.gnu.org/software/bash/manual/bash.html#index-select>.

select {{word}} in {{apple orange pear banana}}; do echo ${{word}}; done

개별 단어로 메뉴 생성:

select {{line}} in $({{command}}); do echo ${{line}}; done

다른 명령의 출력으로 메뉴 생성:

PS3="{{Select a file: }}"; select {{file}} in *; do echo ${{file}}; done

`select`의 프롬프트 문자열을 지정하고 현재 디렉토리에서 파일이나 폴더를 선택하는 메뉴 생성:

🔍

yes

설명 보기 ▼

무언가를 반복적으로 출력.
이 명령은 일반적으로 설치 명령(예: `apt-get`)의 모든 프롬프트에 'yes'로 응답하기 위해 사용됩니다.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/yes-invocation.html>.

yes

"y"를 반복적으로 출력:

yes {{value}}

"메시지"를 반복적으로 출력:

yes | sudo apt-get install {{program}}

`apt-get` 명령의 모든 프롬프트에 수락:

🔍

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:

🔍

systemctl

설명 보기 ▼

systemd 시스템 및 서비스 관리자를 제어합니다.
더 많은 정보: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html>.

systemctl status

실행 중인 서비스 모두 표시:

systemctl --failed

실패한 유닛 나열:

systemctl {{start|stop|restart|reload|status}} {{unit}}

서비스 시작/중지/재시작/재로드/상태 표시:

🔍

launchctl

설명 보기 ▼

Apple의 `launchd` 관리자에서 시스템 전역 서비스인 시작 데몬과 사용자별 프로그램인 시작 에이전트를 제어.
`launchd`는 적절한 위치에 배치된 XML 기반 `*.plist` 파일을 로드하고, 정의된 일정에 따라 해당 명령을 실행.
더 많은 정보: <https://keith.github.io/xcode-man-pages/launchctl.1.html>.

launchctl load ~/Library/LaunchAgents/{{my_script}}.plist

사용자가 로그인할 때마다 `launchd`에 로드될 사용자별 에이전트를 활성화:

sudo launchctl load /Library/LaunchAgents/{{root_script}}.plist

루트 권한이 필요하거나 모든 사용자가 로그인할 때마다 로드되어야 하는 에이전트를 활성화 (경로에 `~` 없음에 유의):

sudo launchctl load /Library/LaunchDaemons/{{system_daemon}}.plist

시스템이 부팅될 때마다 (사용자가 로그인하지 않아도) 로드될 시스템 전역 데몬을 활성화:

🔍

share

설명 보기 ▼

로컬 리소스/파일시스템을 원격 시스템에서 마운트할 수 있도록 공유하는 도구.
더 많은 정보: <https://docs.oracle.com/cd/E36784_01/html/E36825/gntjt.html>.

share

현재 공유된 모든 파일시스템 목록 출력:

share -F nfs -o rw /{{path/to/directory}}

읽기/쓰기 권한으로 디렉터리 공유:

share -F nfs -o ro /{{path/to/directory}}

읽기 전용으로 디렉터리 공유:

// repository documentation