Code Monkey home page Code Monkey logo

oss_uploader's Introduction

Upload image to Ali OSS in Alfred. (使用Alfred上传图片到阿里OSS)

passing version python

The oss_uploader is an Alfred Workflow plugin for uploading images to Ali OSS.

demo

Demo in Youtube

1. Download

You can download the latest version in Github releases page.

2. Usage

2.1 Set the basic config in setting.py

You should set your own information in these codes:

# Define Global Variables
UPDATE_SETTINGS = {'github_slug': 'xiaoyuxie-vico/oss_uploader'}
HELP_URL = 'https://github.com/xiaoyuxie-vico/oss_uploader/issues'

# oss info
OSS_INFO = {
    'access_key_id': 'your_access_key_id',
    'access_key_secret': 'your_access_key_secret',
    'bucket_name': 'your_bucket_name',
    'endpoint': 'http://oss-cn-XXX.aliyuncs.com',
}

# tinyjpg.com API
TINIFY_KEY = 'your_tinify_key'

2.2 General Search

Try keyword oss image_name to upload.

3. Functions (updating)

  • Upload clipboard image data to Ali OSS (v1.0.1);
  • Rename the image name before upload (v1.0.1);
  • Reduce the image size before upload (Using TinyJPG) (v1.0.2);
  • [TODO] Upload the local image (single or in batch);
  • [TODO] Fix rename image error;

Acknowledgement

This Alfred Workflow plugin is developed based on deanishe/alfred-workflow and TooSchoolForCool/LeetCode-Search. Thanks for this great helper library.

oss_uploader's People

Contributors

xiaoyuxie-vico avatar

Stargazers

 avatar

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.