Code Monkey home page Code Monkey logo

selflare's Introduction

Selflare

Compile Cloudflare Workers to Cap'n Proto and deliver them as minimalist Docker images.

Features

  • Cloudflare Worker
  • Cloudflare KV
  • Cloudflare D1
  • Cloudflare R2
  • Cloudflare DO
  • Cache API
  • Cloudflare Vectorize

Usage

Install the CLI with npm i -g selflare and run the following commands in the directory of your worker:

selflare compile   # Compile the worker to Cap'n Proto
selflare docker    # Generate Dockerfile and docker-compose.yml
docker compose up  # Run the worker

The image is based on jacoblincool/workerd which has a size of 35MB (compressed) and supports both amd64 and arm64 architectures.

selflare's People

Contributors

github-actions[bot] avatar jacoblincool avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

luixiao0

selflare's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • fix(deps): update dependency dedent to v1.5.3
  • chore(deps): update dependency tsx to v4.10.2
  • chore(deps): update pnpm to v9
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
example/test-worker/docker-compose.yml
dockerfile
example/test-worker/Dockerfile
github-actions
.github/workflows/release.yml
  • actions/checkout v4
  • pnpm/action-setup v3
  • changesets/action v1
.github/workflows/test.yml
  • actions/checkout v4
  • actions/setup-node v4
  • pnpm/action-setup v3
npm
example/test-worker/package.json
  • itty-router ^4.0.27
  • @cloudflare/workers-types ^4.20240222.0
  • typescript ^5.3.3
  • wrangler ^3.30.1
package.json
  • @iarna/toml ^2.2.5
  • dedent ^1.5.1
  • workerd ^1.20240223.1
  • wrangler ^3.30.1
  • yargs ^17.7.2
  • @changesets/changelog-github ^0.5.0
  • @changesets/cli ^2.27.1
  • @types/iarna__toml ^2.0.5
  • @types/node ^20.11.24
  • @types/yargs ^17.0.32
  • husky ^9.0.11
  • lint-staged ^15.2.2
  • miniflare ^3.20240223.0
  • prettier ^3.2.5
  • prettier-plugin-organize-imports ^3.2.4
  • tsup ^8.0.2
  • tsx ^4.7.1
  • typescript ^5.3.3
  • vitest ^1.3.1
  • pnpm 8.15.4

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.