Skip to content
elwoodpd edited this page Sep 24, 2020 · 3 revisions

salmon has support for image uploading via the command line, to many different image hosts. Some of them require special authentication, while others will work out of the box. Each image host listed below has its setting value as the title.

Usage: run.py images [OPTIONS] COMMAND [ARGS]...

  Create and manage uploads to image hosts

Options:
  -h, --help  Show this message and exit.

Commands:
  list    View previously uploaded images
  upload  Upload images to an image host

Upload

The upload command will upload an image to an image host of your choice. By default, it uses the IMAGE_UPLOADER configuration option. You can specify a custom image host with the --image-host / -i flag. The available options are listed below (the titles of every image host section are the options). Every upload made with the images upload command is saved in a list for you to view.

List

This lists all the images previously uploaded with the images upload command. It provides a numerical ID, the timestamp, the URL, and if the host supports it, a deletion URL. By default, the most recent 20 image uploads are shown, but a different number can be specified with the --limit / -l flag. Similarly, older uploads can be shown by offsetting the list with the --offset / -o flag. If you wanted to view the most recent 50 uploads starting at the 100th most recent upload, you would use the following flags: --limit 50 --offset 100.

Image Hosts

ptpimg

This is the offical image host for Redacted, but it does not offer image deletion. While ptpimg does allow miscellaneous personal uploads, I recommend using this image host only for RED related images.

imgur

imgur is a very well known image host, but it requires you to register a client in the API documentation for image uploading. They offer image deletion. Once registered, you can upload 50 images per hour. To register a client, you must first create an imgur account. I recommend not using a personal email for this. Then visit https://api.imgur.com/oauth2/addclient, give the client a vague name related to music, select Anonymous usage without user authorization as the authorization type, put http://127.0.0.1:55110/oauth2 as the callback URL, enter in an email (I recommend not a personal email for this either), and enter a description vaguely describing spectrals and music paraphernalia. Once you create your application, a client ID will be presented to you. Paste the client ID (NOT the client secret) into your config as the IMGUR_CLIENT_ID option.

emp

jerking.empornium.ph image host of a well known porn torrent tracker. Doesn't require an account and seems speedy and reliable. At least one person has been happily using this site as a spectral host for a while now with no issues. Put emp in your config file if you want to use this site.

Removed: mixtape & vgy

mixtape.moe no longer exists.

vgy is also a good image host, but they do not allow images to be used for torrent site-related purposes. They no longer allow uploading without logging in. Support has been removed.

Clone this wiki locally