HN 표시: Ada의 Gemini 서버인 Twins
hackernews
|
|
📦 오픈소스
#claude
#gemini
원문 출처: hackernews · Genesis Park에서 요약 및 분석
요약
Ada 프로그래밍 언어로 작성된 'Twins'라는 정적 파일 Gemini 서버가 알파 버전으로 공개되었습니다. 이 소프트웨어는 리눅스, macOS, OpenBSD, Windows 등 다양한 플랫폼에서 테스트되었으며, 호스트네임이나 포트 같은 옵션을 설정해 실행할 수 있습니다. 사용자는 셀프 서명 인증서를 생성하여 TLS 통신을 위한 설정을 마친 후, 서비스를 구동할 수 있습니다.
본문
Static files Gemini server in Ada. This is alpha software. I'm actively working it. YMMV. Tested on Linux x86_64, MacOS ARM, OpenBSD x86_64 and Windows x86_64. See Releases. curl -L https://github.com/tomekw/twins/releases/download/VERSION/twins-VERSION-PLATFORM -o twins && chmod +x twins Copy it somewhere on your PATH : cp twins ~/bin/twins Install tada. Run: tada build --profile release cp target/release/bin/twins ~/bin/twins Usage: twins [options] Options: --hostname|-H Server hostname (default: localhost) --port|-p Server port (default: 1965) --root|-r Content root (default: "content" in the current directory) --cert|-c TLS certificate path (default: "cert.pem" in the current directory) --key|-k TLS key path (default: "key.pem" in the current directory) --help|-h Print this message or use an example systemd twins.service at resources/systemd . You can create a self-signed certificate for localhost like so: openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 \ -keyout key.pem -out cert.pem -days 3650 -nodes \ -subj "/CN=localhost" \ -addext "subjectAltName=DNS:localhost" This codebase is written by hand. Claude Code is used for Socratic design exploration and code review.
Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.
공유