Skip to content

FallingMY/filebin-mac-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filebin

Swift macOS License

English · 中文

macOS 菜单栏上的 Filebin 客户端,上传下载文件不用开浏览器。

功能

  • 菜单栏快捷上传 — 拖拽或选文件,菜单栏浮窗直接传
  • 下载文件 — 粘贴 Filebin 链接,可以单个下也可以打包 ZIP
    • 有进度条 + 百分比
  • 历史记录 — 传过下过的都在,按有效期标色,支持搜索
  • 设置 — 默认下载位置之类的

系统要求

  • macOS 14 (Sonoma) 及以上
  • Apple Silicon / Intel 都行

安装

下载最新 Release

  1. 解压 Filebin.zip
  2. 右键 Filebin.app打开(首次用需要这样,ad-hoc 签名没公证)
  3. 图标出现在菜单栏,没有 Dock 图标

ad-hoc 签名没做公证,macOS 首次会弹无法验证的提示,右键打开就好。

构建

git clone https://github.com/FallingMY/filebin-mac-app.git
cd filebin-mac-app
swift build -c release

产物在 .build/release/Filebin

使用

操作 方法
上传 点菜单栏图标 → 拖文件或选文件
下载 贴链接 https://filebin.net/<bin_id> → 解析 → 选文件下
历史 History 标签页看所有记录
设置 Settings 标签页配保存位置
打开窗口 右键菜单栏图标 → "显示窗口"
退出 右键菜单栏图标 → "退出"

技术栈

  • 语言: Swift 6
  • UI: SwiftUI + AppKit
  • 网络: URLSession + 自定义 delegate 做上传下载进度
  • 持久化: JSON 按日期分片存
  • 依赖: HotKey

许可证

GPL-3.0 — 见 LICENSE

About

A macOS native app for filebin.net

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages