Skip to content

Cooked git: like Rawgit but builds & runs the code #5

Closed

Description

@cben

The idea is zero config: the URL implies a specific code version [1], it gets checked out, built and run [2]. With good caching/dedup so that runnig many versions of the same repo is cheap (and fast to start up).
Incative services get GC'd automatically and re-built/re-started on demand.

[1] ideally with subdomains, I hope LetsEncrypt will make wildcart certs cheap.
[2] Dockerfile, buildpack-alikes or both? Sandstorm?
Obviously the more PAAS-ish the easier it is to cheaply co-run multiple similar apps (e.g. all python apps share the python exe & stdlib) but such per-ecosystem tailored sharing is a lot of work and constrains the platform.
I wonder how far I can get with blind universal dedup e.g. bup?
The hard part is successfully deduping in RAM.

Activity

  1. cben commented on May 5, 2018

    @cben
    OwnerAuthor

    Netlify is close enough, except for doing it transparently on URL that includes version.
    But it can buil versions on github push, PRs etc.
    Heroku also works similarly.

    I wonder however if I can build a proxy that given version in URLs triggers build and redirects to it?
    Not sure that's valuable. For FOSS web apps, what I'm really dreaming of is integrating a commits graph letting you switch versions in the UI itself!
    Anyway, closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions