Code Monkey home page Code Monkey logo

fu's Introduction

File to URL

demo

Introduction

fu stands for File to URL, a utility design to help you upload images/files and produce Markdown/HTML snippets with couple of clicks.

Features

  • Upload Raw Image Data or Files from Clipboard to server
  • Multiple files to multiple servers with one click
  • Upload to your own FTP/SFTP, or your NAS through LocalStorage protocol
  • Upload to public image hosting service like imgur.com and qiniu.com
  • Compress image before upload
  • Adding wartermark for image
  • Customizable output format, HTML/Markdown/Raw or whatever plain-text format you like
  • Copy output from History records
  • Manage history by tagging
  • Search history clips by similarity (base on pHash)
  • Easy to backup/restore your data
  • i18n support

Installation

Go to releases page download archive according to your OS.

Windows

Download the .7z file from releases page. extract to whereever you want.

If you want it to be launched at login, please make a shortcut in your Startup folder.

MacOS

currently unavailable

Linux

currently unavailable

Build Dependencies

  • Qt5
  • libqcurl
  • qt-phash

Build on Windows (Qt 5.13.2)

Tested on Windows 10 with Qt 5.13.2, higher version may not work.

  1. Create working directory mkdir fu2
  2. Create dependencies directory mkdir fu2\deps
  3. Download libqcurl binaries from https://github.com/klesh/libqcurl/releases/tag/v1.0.0 and extract them to fu2\deps\i386\release and fu2\deps\x86_64\release accordingly
  4. Clone repository: git clone https://github.com/klesh/fu.git fu2\fu
  5. Launch Qt Creator and open fu2\fu\fu.pro, select both Desktop Qt 5.13.2 MinGW 32-bit and Desktop Qt 5.13.2 MinGW 64-bit kits
  6. For each release configuration of each kits, add a building step Make with install as Make arugments
  7. Select target Kit/Build (computer-like icon on the bottom left corner), then press Ctrl-B to build.
  8. Open Qt 5.13.2 (MinGW xxx 32-bit)(or 64-bit) command prompt accordingly and go to fu2\builds\fu-gcc-i386-release-vx.x.x (or x86_64) and run windeployqt .

FAQ

Q: How to add imgur.com?

A: go to http://api.imgur.com/ register an application, you will receive a Client-ID, then you can create a imgur.com entry in Preferences. You may have to setup proxy field if you run into a "blocked by imgur.com " error.

Like it ?

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

License

LGPL

fu's People

Contributors

klesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fu's Issues

能否考虑在软件内加个 About?

软件很好用!感谢!

最初在 V2 看到,然后一直用很久。前几天想看看这软件有没有更新,然而软件界面连个“关于”的菜单都没有?

也不知道去哪寻官方地址了。才又在 V2 搜了几页才找到啊。

作者能否考虑在软件内加个主页或项目的链接?这样比较好找。

不会用

好尴尬,下载下来了,不知道怎么启动,不知道怎么使用。

上传出错

_20180708111436
昨天开始上传就报错,今天报的错还和昨天不一样了。。

assert "image.IsOk()" failed in wxBitmap(): invalid image

报错截图

14:30:43: Debug: tray icon ready

(fu:27360): Gtk-WARNING **: 14:30:43.526: Unable to locate theme engine in module_path: "adwaita",

(fu:27360): Gtk-WARNING **: 14:30:43.527: Unable to locate theme engine in module_path: "adwaita",

(fu:27360): GLib-CRITICAL **: 14:30:44.196: g_byte_array_remove_range: assertion 'index_ + length <= array->len' failed

(fu:27360): GLib-CRITICAL **: 14:30:44.207: g_byte_array_remove_range: assertion 'index_ + length <= array->len' failed

(fu:27360): GLib-CRITICAL **: 14:30:44.211: g_byte_array_remove_range: assertion 'index_ + length <= array->len' failed
../src/gtk/bitmap.cpp(627): assert "image.IsOk()" failed in wxBitmap(): invalid image

环境 deepin 15.9.1

总在上传时出现这个警告,如何避免呢?

用的FTP上传,已设置的选项有:图片压缩,水印(水印图片文件名有中文),使用markdown格式输出。在复制图片,点击要上传的图片后,总会弹出这个警告对话框,是啥意思,要如何避免呢?谢谢!
20181110213110

请问macOS下面如何编译?

自己想修改增加一些feature,比如根据文件内容散列值得到新的文件名等功能。
但是在macOS下面编译失败。

所以请教在macOS下面编译安装的方法。
谢谢。

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/taozj/Downloads/fu-1.3.1/missing aclocal-1.15
cd . && /bin/sh /Users/taozj/Downloads/fu-1.3.1/missing automake-1.15 --gnu
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
automake-1.15: error: no 'Makefile.am' found for any configure output
automake-1.15: Did you forget AC_CONFIG_FILES([Makefile]) in configure.ac?
make: *** [Makefile.in] Error 1

Upload fail: Couldn't resolve host name

OS:

Windows 10 x64 pro 1709

Software Version

1.3.1

Issues

配置又拍云存储,使用 sFTP 和 FTP 都无法正常上传:

  • 使用 sFTP

点击上传之后会一直显示上传状态(任务栏图标为一个箭头),等很久也没有反应。

  • 使用 FTP

点击上传之后出错,提示为:

Upload fail: Couldn't resolve host name

配置如下

Snipaste_2018-03-07_23-06-32.png

其他

在同样的服务器配置,同等网络情况下:

  • 可以用 FileZilla 登陆又拍云服务器,并正常操作
  • 使用 sm.ms 可以正常上传图片

感谢~

希望能增加按月份文件夹上传图片

软件很棒,非常合我的心意,感谢!
现在软件的ftp上传设置可以按日期创建文件夹进行组织,但不能按月份,希望软件能增加一个按月份进行组织图片的选项。比如,上传一张图片后,自动新建2018-11的文件夹,当月的图片上传在其中。如果能实现就最好了。望考虑建议,非常感谢!

XML parsing error: 'mismatched tag' at line 6

OS : Win10 x64 Pro 1703
Version: 1.3

使用的服务器是默认的: sm.ms

这两天上传开始出现这个错误

XML parsing error: 'mismatched tag' at line 6

snipaste_20170506_152726.png

然后程序通知提示我的 ip 被 banned,需要使用一个 proxy。

snipaste_20170506_152809.png

本身已经在代理环境了,正常登陆 sm.ms 可以上传。

去掉代理也可以上传。

您好!打扰您了,我编译时找不到qcurl.h。

您好,我编译时找不到qcurl.h。后来看到:

可我找不到libqcurl,只有libcurl,头文件也只有curl.h,不是qcurl.h。
可以教教我吗?我现在windows和mac下都运行一遍,麻烦您了!

Win10 无法启动


fu.exe - 应用程序错误

应用程序无法正常启动(0xc000007b)。请单击“确定”关闭应用程序。

确定

配置项, “输出格式” 添加并保存新格式 提示错误 “Format with the same name already exists.”

fu 作者大大你好:

我在使用 fu 过程中遇到一些 bug,对于 fu 的源码没有详细了解过,特在 issue 求助,感谢🙇‍ 作者大大做出这么好用的软件。
具体问题如下:

使用环境: Windows 10 v20H2, fu v2.0.1

现象:打开配置项, 在 “输出格式” 添加新格式 ,并点击保存是,提示错误 “Format with the same name already exists.”
image

如需复现, 可以联系我的邮箱📫: [email protected]

感谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.