cloudflare repos をぼんやりながめた。
https://github.com/cloudflare/
TL;DR
wranglerとlol-html をあとで読む
https://github.com/cloudflare/wrangler
cloudflare workers ??? rustlang
cloudflare/lol-html: Low output latency streaming HTML parser/rewriter with CSS selector-based API https://github.com/cloudflare/lol-html
https://github.com/cloudflare/wrangler
cloudflare workers ??? rustlang
rust で書いてcargo install わかる
npmはバイナリをインストール??わからない
$ npm i @cloudflare/wrangler -g
/home/matt/anyenv/envs/nodenv/versions/12.13.1/bin/wrangler -> /home/matt/anyenv/envs/nodenv/versions/12.13.1/lib/node_modules/@cloudflare/wrangler/run-wrangler.js
@cloudflare/wrangler@1.6.0 postinstall /home/matt/anyenv/envs/nodenv/versions/12.13.1/lib/node_modules/@cloudflare/wrangler
node install-wrangler.js
Downloading release https://workers.cloudflare.com/get-npm-wrangler-binary/1.6.0/x86_64-unknown-linux-musl
Wrangler has been installed!
+ @cloudflare/wrangler@1.6.0
added 27 packages from 13 contributors in 10.38s
やっぱりそうだ、npm のdependenciesはrimrafとaxiosだけ。えー。あと、windows x64, linux x64, mac x64 以外はinstall error。いさぎよい。
function getPlatform() {
const type = os.type();
const arch = os.arch();
if (type === "Windows_NT" && arch === "x64") {
return "x86_64-pc-windows-msvc";
}
if (type === "Linux" && arch === "x64") {
return "x86_64-unknown-linux-musl";
}
if (type === "Darwin" && arch === "x64") {
return "x86_64-apple-darwin";
}
throw new Error(Unsupported platform: ${type} ${arch}
);
}
https://developers.cloudflare.com/workers/quickstart/
https://github.com/cloudflare/cloudflare-rs
cloudflare v4api??? rustlang
cloudflare /certmgr https://github.com/cloudflare/certmgr
CFSSL CA
cloudflare ssl ca? golang
CFSSL: Cloudflare’s PKI and TLS toolkit https://cfssl.org/ https://github.com/cloudflare/cfssl
golang
Routes requests to KV assets https://github.com/cloudflare/kv-asset-handler
typescript
https://workers.cloudflare.com/sites
workers sites???
Go library for the Cloudflare v4 API https://github.com/cloudflare/cloudflare-go
golang
Prometheus exporter for Kafka cluster state stored in ZooKeeper https://github.com/cloudflare/kafka_zookeeper_exporter
ぜんぜんわからん
cloudflare/worker-emscripten-template https://github.com/cloudflare/worker-emscripten-template
ぜんぜんわからん
Python wrapper for the Cloudflare Client API v4 https://github.com/cloudflare/python-cloudflare
ふーん
sun_behind_large_cloudconstruction_worker_woman The documentation site for Cloudflare Workers https://developers.cloudflare.com/wor… https://github.com/cloudflare/workers-docs
hugo, node,
🥧 Savoury implementation of the QUIC transport protocol and HTTP/3 https://docs.quic.tech/quiche/ https://github.com/cloudflare/quiche
rustlang
cloudflare/cf-terraforming https://github.com/cloudflare/cf-terraforming
cf teraforming
???
golang
The high-scalability sFlow/NetFlow/IPFIX collector used internally at Cloudflare. https://github.com/cloudflare/goflow
netflow??? sflow??? ipfix???
golang
cloudflare/cloudflare.design https://github.com/cloudflare/cloudflare.design
create react app ????
cloudflare/cfssl_trust: CFSSL’s CA trust store repository https://github.com/cloudflare/cfssl_trust
trust store???
golang
cloudflare/cfrpki: Cloudflare’s RPKI Toolbox https://github.com/cloudflare/cfrpki
???
RPKI ???
golang
cloudflare/worker-template-router https://github.com/cloudflare/worker-template-router
template
javascript
Method?? なんだこりゃ
cloudflare/cfnts: Cloudflare’s implementation of the NTS protocol written in Rust https://github.com/cloudflare/cfnts
nts protcol ってなに
rustlang
cloudflare/kv-worker-migrate https://github.com/cloudflare/kv-worker-migrate
kv namespace migration
javascript
serverless.yaml
cloudflare/worker-speedtest-template https://github.com/cloudflare/worker-speedtest-template
perfomance timing api
cloudflare/claire: A Cloudflare WebExtension https://github.com/cloudflare/claire
web extension
cloudflare/cloudflare-gcp: Google Cloud Function to push json files from GC Storage to Big Query https://github.com/cloudflare/cloudflare-gcp
log push to bigquery???
javascript
cloudflare/Cloudflare-CPanel: Provides a CPanel Plugin to allow one click Cloudflare setup. https://github.com/cloudflare/Cloudflare-CPanel
cpanel plugin???
php, javascript
cloudflare/gortr: The RPKI-to-Router server used at Cloudflare https://github.com/cloudflare/gortr
?????
golang
cloudflare/collapsify: Collapsify inlines all the resources of a page into a single document https://github.com/cloudflare/collapsify
????
javascript
cloudflare/boringtun: Userspace WireGuard® Implementation in Rust https://github.com/cloudflare/boringtun
wireguard????
rust
cloudflare/ebpf_exporter: Prometheus exporter for custom eBPF metrics https://github.com/cloudflare/ebpf_exporter
prometheus exporter????
golang
cloudflare/cloudflared: Argo Tunnel client https://github.com/cloudflare/cloudflared
argo tunnel client????
golang
cloudflare/lol-html: Low output latency streaming HTML parser/rewriter with CSS selector-based API https://github.com/cloudflare/lol-html
rustlang