FLUTTER ECOSYSTEM

dhttpd

用於輕鬆本地託管目錄的靜態HTTP檔案伺服器。

最新版本
4.3.0
近 30 天下載
3200
喜歡數
141
Pub 分數
140

Package Overview

根據套件公開資料產生的選型評估,僅供參考。

套件概覽

dhttpd 是一個為 Flutter 構建的輕量級靜態 HTTP 檔案伺服器,可輕鬆實現目錄內容的本機託管。它允許開發者從指定目錄透過 HTTP 提供檔案,非常適合測試網頁資源、提供靜態網站,或在開發過程中本地分享檔案。該伺服器可在 Android、iOS、macOS、Windows 和 Linux 等多個平台運行,適用於跨平台工作流程。設定簡單,dhttpd 提供了一種無需複雜設定即可預覽或分享內容的便捷方式。

適用情境
  • Local development previews
  • Serving static web assets
  • Testing web applications
  • Sharing files across devices
  • Quick prototyping
主要特色
  • Simple setup
  • Cross-platform support
  • Static file serving
  • Lightweight
  • Runs on all major platforms
適合對象
  • Flutter developers
  • Frontend testers
  • Local web server needs
  • Prototyping
  • Development environments
使用建議
  • Not for production use
  • Limited to static files
  • No authentication
  • Requires manual configuration for advanced settings
  • Not suitable for dynamic content
支援平台AndroidiOSmacOSWindowsLinux

安裝套件

flutter pub add dhttpd

所屬分類

原始碼儲存庫

相關專案