skorokithakis / imgur-uploader Goto Github PK
View Code? Open in Web Editor NEWThis project forked from atbaker/imgur-uploader
A simple command line client for uploading files to Imgur ⛺
License: MIT License
This project forked from atbaker/imgur-uploader
A simple command line client for uploading files to Imgur ⛺
License: MIT License
I've gotten both id, secret and refresh token (via this method https://stackoverflow.com/a/61343188) but I still can't see the picture being uploaded in my account. Any ideas?
Some feedback based on my experience.
Doc says:
Clone this repository
Suggestion:
Clone this repository
git clone https://github.com/skorokithakis/imgur-uploader.git
===============================================
Doc says:
Upload an image by running imgur-uploader path/to/my.gif
Suggestion:
Upload an image by running
imgur-uploader path/to/my.gif
or
python3 imgur-uploader.py path/to/my.gif
===============================================
Doc says:
If you want your images to appear in your account, you additionally need to get a refresh token. See the Imgur API https://apidocs.imgur.com/#authorization-and-oauth for information on how to obtain this.
Suggestion:
If you want your images to appear in your account, you additionally need to get a refresh token. See the Imgur API https://apidocs.imgur.com/#authorization-and-oauth for information on how to obtain this. However if you already have the id and secret, just login with your browser on https://imgur.com/ and then on another tab enter this URL (replace CLIENT_ID)
https://api.imgur.com/oauth2/authorize?client_id=CLIENT_ID&response_type=token
Accept, and from the resulting url you need to extract the refresh_token.
Some extra info on https://rapidapi.com/blog/imgur-api-tutorial/
===============================================
Doc says:
The tool will return a shortened link to your uploaded gif upon completion:
Suggestion:
If you want to extract the url you can do it this way
# # Upload and get response
res=$(python3 ~/bin/imgur-uploader/imgur_uploader.py image-file.png )
# # Extract url from response
link=$(echo $res | egrep -o "http.*")
===============================================
Hi there, installed this, but can't run imgur-uploader, says command not found...
Do I need to add a directory to the environment? Where is the imgur-uploader executable located?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.