How newlode/jirafeau works
Jirafeau is a lightweight PHP file-sharing service: users upload files, receive download and delete links, and recipients retrieve or remove them. The documented feature set includes expiring and one-time links, passwords, previews, deduplication, optional encryption, administration, a basic API, installation, language support, themes, and a terms page. Source excerpts show browser uploads reaching script.php and shared file/link operations; the implementation of several other capabilities was not sampled, so those branches are identified from the README without speculative call relationships.
Main entry points: functions.php File and link operations · index.php Upload page · header.php Page shell · script.php HTTP API
Components 17
Upload flow
- Upload page
index.php - Browser upload client
lib/functions.js.php - HTTP API
script.php
File and link lifecycle
- File and link operations
lib/functions.php - File/link storage
- Download and preview
f.php
Site operations
- Administration
admin.php - Expired-file cleanup
script.php - Setup wizard
install.php - Configuration
lib/config.original.php
Presentation
- Language support
lib/lang.php - Translation catalogues
lib/locales - Page shell
lib/template/header.php - Terms page
tos.php - Themes
media
Other components
- Uploader / recipient
- Bash upload client
Connections 18
- Uploader / recipient → Upload page: opens
README.md - Upload page → Browser upload client: loads
- Browser upload client → HTTP API: posts upload
lib/functions.js.php - HTTP API → File and link operations: dispatches operations
- File and link operations → File/link storage: reads / writes
- Uploader / recipient → Download and preview: opens link
README.md - Download and preview → File and link operations: resolves file link
- Uploader / recipient → Administration: manages service
README.md - Administration → File and link operations: manages links
- Bash upload client → HTTP API: uses API
README.md - Uploader / recipient → Setup wizard: configures service
README.md - Setup wizard → Configuration: writes settings
- Uploader / recipient → Terms page: views terms
- Upload page → Page shell: renders with
- Page shell → Themes: loads theme
lib/template/header.php - Page shell → Language support: uses translations
- Language support → Translation catalogues: loads catalogue
- Expired-file cleanup → File and link operations: removes expired links