# Redbean - 파일1개로 실행되는 웹서버

> Clean Markdown view of GeekNews topic #3815. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=3815](https://news.hada.io/topic?id=3815)
- GeekNews Markdown: [https://news.hada.io/topic/3815.md](https://news.hada.io/topic/3815.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2021-03-02T09:16:33+09:00
- Updated: 2021-03-02T09:16:33+09:00
- Original source: [justine.lol](https://justine.lol/redbean/index.html)
- Points: 15
- Comments: 2

## Topic Body

- zip파일에 콘텐츠를 넣고 .com으로 파일명 바꾸면 실행됨

- ape포맷이어서 파일1개로 윈도우/맥/리눅스/BSD 모두 실행가능

- 초당 1백만 gzipped 리퀘스트 처리 가능

ㅤ→ 아주 작은 스태틱 바이너리 이고, 파일 내용 자체가 zip이기 때문에 압축해제없이 커널카피로 동작

- 코드는 C로 되어 있어서 손쉽게 수정 가능

- 지원 기능

ㅤ→ HTTP v1.1, Content-Encoding

ㅤ→ Range / Content-Range

ㅤ→ Last-Modified / If-Modified-Since

## Comments



### Comment 20344

- Author: cosine20
- Created: 2023-11-03T17:49:50+09:00
- Points: 1

데모 서버 돌려봤는데 진짜 입이 딱 벌어지네요 ㅋㅋㅋ

### Comment 4559

- Author: xguru
- Created: 2021-03-02T09:16:41+09:00
- Points: 3

Cosmopolitan libc - Build-Once Run-Anywhere C https://news.hada.io/topic?id=3489

위 작품을 만든 Justine Tunney가 자신이 만든 ape 포맷을 사용한거네요.

- αcτµαlly pδrταblε εxεcµταblε : https://justine.lol/ape.html
