Skip to content

Releases: hackmajoris/sharefly

Version 0.7.0

Choose a tag to compare

@hackmajoris hackmajoris released this 14 Oct 07:22
b4f1686

New Features

Version 0.6.0

Choose a tag to compare

@hackmajoris hackmajoris released this 09 Oct 18:13
0b66f0d

New Features

Improvements

Version 0.5.0

Choose a tag to compare

@hackmajoris hackmajoris released this 09 Oct 16:27
1987d64

New Features

Other

  • site: once card, expiry header, new link format 986a927
  • ui: dashboard mobile layout f811891

Version 0.4.0

Choose a tag to compare

@hackmajoris hackmajoris released this 05 Oct 12:01

New Features

  • sharefly serve notes.md shares Markdown as a formatted page (headings, tables, task lists, code, light/dark), with a button to download the original .md; the management page offers "Download .md" too 64a3003
  • sharefly dashboard opens the management page of the server you use in your browser (starting a local server if needed) and prints its URL f60188b

Changed defaults

  • default ports are now 7787 (API) and 7788 (file server), instead of 8787 and 8080, which clash with common dev tools. Ports already written in your config file keep working; if your config does not pin them, point your Cloudflare tunnel hostname at 127.0.0.1:7788 and devices server setting at :7787 f60188b

Version 0.3.0

Choose a tag to compare

@hackmajoris hackmajoris released this 05 Oct 10:21

New Features

  • management page at http://<api-addr>/: list shares with link, expiry, size and password mark; copy, renew or delete them. Served only on the API address (localhost or tailnet), never through the public tunnel 58ad8d8

Security

  • the API rejects browser requests from other sites (Origin check), so a web page you visit can no longer make your browser upload, renew or delete shares 58ad8d8
  • the API rejects Host names other than IPs, localhost, single-label names, *.ts.net and *.local (DNS rebinding); reaching the API under another DNS name now gets 403 58ad8d8

Version 0.2.0

Choose a tag to compare

@hackmajoris hackmajoris released this 05 Oct 09:54

New Features

  • sharefly service install | uninstall | status: runs the server at boot as your user (launchd daemon on macOS, systemd unit on Linux), restarts it within 10s, logs to <data-dir>/server.log db0f758
  • with the service installed, stop/start go through launchd/systemd, config set restarts it, and serve never starts a second server next to it db0f758

Project site

Other

Version 0.1.0

Choose a tag to compare

@hackmajoris hackmajoris released this 04 Oct 19:02

New Features

  • serve --password: the server generates an 80-bit password, printed once on stderr; visitors get a login page, and a cookie scoped to the share keeps them in; curl -u x:<password> works too 7daa871

Version 0.0.2

Choose a tag to compare

@hackmajoris hackmajoris released this 04 Oct 12:51

Bug Fixes

  • token tunnel refuses to start without tunnel-token or public-url; serve reports it before starting anything 13c6c73
  • explicit --tunnel off links to the local file server instead of the config public-url 13c6c73
  • serve/start fail at once with the server log's reason when the server exits during startup 13c6c73
  • config set no longer stops a running server when the new config can't start it 13c6c73

Version 0.0.1

Choose a tag to compare

@hackmajoris hackmajoris released this 04 Oct 12:19

New Features

  • rm -all flag 5ecd93e
  • run cloudflared from sharefly: quick tunnel or token tunnel 2790438
  • sharefly config --help documents commands and every key; sharefly --help exits 0 70487fd
  • config file lists every key with its default; derived keys stay empty bf3119d
  • sharefly config open edits the config file; reject unknown keys and invalid values 84b1153
  • all settings in the config file; drop SHAREFLY_* env vars 7cf2f18
  • sharefly config with a JSON config file in ~/.config/sharefly 777ad0d
  • start runs the server in the background, server stays in the foreground 9c95b94
  • run the always-on server with Docker Compose instead of launchd 35fd733
  • store data under XDG state dir (~/.local/state/sharefly) 50244f5

Improvements

  • embeded cloudlare cmds cbcb804
  • mention running sharefly under launchd or systemd a9d6ec7
  • drop Docker Compose; sharefly is a single binary you start when needed 527d9e7
  • full step-by-step always-on server walkthrough b00da4f
  • restructure README around a cookbook 8d78b82
  • describe the always-on setup without naming specific hardware 27a5060
  • list environment variables in README 853e4d9

Bug Fixes

  • running server picks up public-url changes from the config file without a restart fe3f718
  • config open and set work on a broken config file; URLs without a scheme are accepted 8d66e62
  • stop reports a running server that has no pid file e3e34d0