Embedded App: do not extract sources
Los mantenedores suelen responder en 1 día
@dunglas ya está trabajando en esto.
Desde el 26/3/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 11.4k
- Forks
- 490
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 29
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de php/frankenphp
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
php/frankenphp#2671 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Include frankenphp version in logsPosiblemente ocupada @ousamabenyounes la tomó hace 84 días. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
php/frankenphp#2483 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
suggestion about compile.mdQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertoenhancement
Dificultad 1/5 1-3 horas Aptitud para principiantes 68/100
php/frankenphp#601 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dead/hanging threads on 1.13.0Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
php/frankenphp#2711 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
php/frankenphp#2710 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de php/frankenphp
Issues similares
-
scaleway_lb_frontend: updating a frontend with external_acls = true deletes all scaleway_lb_aclAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
scaleway/terraform-provider-scaleway#4485 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Add SolentaPosiblemente ocupada @sharmao07 la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
slavakurilyak/awesome-ai-agents#760 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100