Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Embedded App: do not extract sources

Aperta
#2,308 12 commenti 2 reazioni 2 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@dunglas ci sta già lavorando.

Dal 26/3/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement
Describe your feature request

Is your feature request related to a problem? Please describe.
The extraction to /tmp/frankenphp_... brings a few issues with it.

  • /tmp must be writable.
  • systemd ProtectTmp can lead to unexpected paths
  • startup extracts the tar, can be slow
  • old files linger in /tmp until restart of the machine
  • source code is human readable without any reverse engineering

Describe the solution you'd like
Embedded filesystem inside the binary, rather than extracting the tares?

  • possibly encrypted? not a goal to truly make it "secure", but not immediately showing the source code is a plus

Describe your approach

  • create named virtual filesystem in go
  • redirect caddy to use that vfs for e.g. file_server and matchers
  • overwrite php file handlers to redirect to the vfs
  • work around possible opcache issues (?)
  • find a good solution for folders that need write access (e.g. symfony cache)?
  • embed a database...? not sure how this could be possible, but who knows. otherwise create a proof of concept using sqlite.

I'll work on this slowly over the next weeks. Don't expect anything immediately. I think @dunglas mentioned that something like this was planned as a potential commercial offering, so if you don't want me to pick it up, just let me know now before I start.

Lingua principale
Go
Stelle
11.4k
Fork
490
Merge medio
3g 11h
PR unite (30g)
29

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di php/frankenphp

Tutte le issue di php/frankenphp

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.