Go to file
2025-02-27 14:21:38 -03:00
filepick.go why not working? 2025-02-27 13:14:51 -03:00
go.mod feat: copy to clipboard 2025-02-27 13:58:54 -03:00
go.sum feat: copy to clipboard 2025-02-27 13:58:54 -03:00
readme.md docs: add arguably most important env variable 2025-02-27 14:21:38 -03:00
revelation.go fix: not necessarily an api key is needed 2025-02-27 14:11:19 -03:00

revelation

this app triggers the dbus filepicker to select a file, then uploads it to a pastebin service.

how it works

  • when you run the app, it opens the system filepicker using dbus.

  • after selecting a file, the app uploads it to the pastebin service.

  • the app returns the URL of the uploaded file.

requirements

  • dbus (for the filepicker)

  • a pastebin service like 0x0.st

usage

  1. set PASTEBIN_URL env variable

  2. set the AUTH_KEY and AUTH_PARAM environment variable if your pastebin service requires an API key.

  3. run the app:

    go run .
    
  4. select a file using the filepicker.

  5. the app will copy the url of the uploaded file to clipboard

notes

  • this app is designed for linux systems with dbus support.
  • make sure the pastebin service is accessible and the API key is valid.