Skip to content
/ fu Public
forked from klesh/fu

Cross-platform(win/mac/linux) app that allows user to upload images/files in Clipboard to a remote server in exchange for corresponding url with one simple click

License

Notifications You must be signed in to change notification settings

xuyixia/fu

Repository files navigation

File to URL

demo

Introduction

I once needed a tool to upload images/files in Clipboard and generate a URL back to it for me. So I looked for such a tool, I found iPic which quite awesome. But unfortunately, it supported image only and wouldn't let me upload to own server. It would be greate to have a another option, wasn't it?

The plan was to make a CrossPlatform app for (Windows/MacOS/Linux), and it can also processes Captured Bitmap Data in Clipboard, but itself doesn't have any Screen Capturing functionality. You may need other tool to do the job.

Installation

Go to releases page download file according to your OS.

Windows

download the .7z file from releases page. extract to whereever you want.
You may also need to install vc++ runtime library, it can be download fomr here: http://www.microsoft.com/en-us/download/details.aspx?id=48145
If you want it to be launched at login, please make a shortcut in your Startup folder which link to fu.exe.

MacOS

download the .dmg file from releases page, double click it and drag the fu icon into Applications folder If you want it to be launched at login, please go to System Preferences > Users & Groups > Login Items and add it to your list.

If you receive a error says app 'is damaged, should be moved to trash', and chose to accept the risk, here is the solution:

macOS Sierra

run following script in your Terminal

sudo spctl --master-disable

Other OSX

go to [System Preferences] -> [Secruity & Privacy] -> [General] -> [Allow apps downloaded from] -> [Anywhere]

Linux

download the .tar.gz file, extract, make and make install. should be able to work on most distro, let me know if any problem.

Ubuntu

sudo apt install libwxgtk3.0-dev libcurl4-openssl-dev libssh2-1-dev libboost1.61-dev libgtk2.0-dev zlibc zlib1g zlib1g-dev libappindicator3-dev
tar zxvf fu-vxxx.tar.gz
./configure
make
sudo make install

Build Dependencies

  • wxWidgets 3.0.2
  • libcurl
  • libssh2
  • boost

Development Dependencies

  • automake
  • autoconf

Compile

$ aclocal
$ autoconf
$ automake --add-missing

FAQ

Q: How to add imgur.com? A: go to http://api.imgur.com/ register an application, you will receive a Client-ID, put it to Client-ID client field and save. You may have to setup proxy field if you happen to receive a "blocked by imgur.com " error.

Like it ?

  • Star this respository right away!
  • Recommand to your friends.
  • Twitter/Facebook/Reddit it already.
  • Pull Requests are all welcome.

License

LGPL

About

Cross-platform(win/mac/linux) app that allows user to upload images/files in Clipboard to a remote server in exchange for corresponding url with one simple click

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 71.4%
  • Makefile 23.2%
  • M4 2.2%
  • C 1.8%
  • Objective-C++ 1.4%