DreamAPI

DreamAPI Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 828 downloads
DreamAPI Icon

Try plugin: DreamAPI

We'll create fresh WordPress site with DreamAPI installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About DreamAPI

Upload your files to DreamObjects on DreamHost instead of WordPress Media Library.

0


0


0


0


0

updated: 3 years ago
since: 3 years ago
author: NoteToServices

Description

Use the DreamAPI plugin to upload files to the DreamHost DreamObjects file storage zone to save space on your website.

Details

Several years ago, DreamHost came up with a great storage solution known as DreamObjects, and then also released a WordPress plugin
called DreamSpeedCDN to go with it. After a year or so, they discontinued the plugin, which made DreamObjects a simple storage
solution instead of an actual CDN, yet it has all the capabilities of being a CDN.

It is uncertain why DreamHost discontinued this plugin, but the possible reasons are that they did not have enough users
using DreamObjects at the time and they were not really pushing WordPress to their users. Fast forward to 2020, and DreamHost
is hosting nearly 2 million websites, a majority of which are using WordPress. Considering that DreamHost also offers DreamPress,
a managed hosting solution specifically for WordPress websites, it only makes sense for DreamObjects to be utilized as a storage and
CDN service.

DreamHost has no plans to revive their DreamSpeed CDN plugin, and you can find a non-working archived version of it on Github. However,
it does require some coding knowlege to get it working again. In this WordPress forum topic
(DreamSpeed Alternative [https://wordpress.org/support/topic/dreamspeed-cdn-alternative/]),
Ipstenu (Mika Epstein) (@ipstenu) came up with a suggestion for a temporary solution by using
Ilab Media Tools (https://wordpress.org/plugins/ilab-media-tools/), as DreamObjects is S3 compatible and this plugin can be setup
to use DreamObjects. It has been working great for a long time, but there are times where the plugin can be spotty,
and there is no way to force a file upload from the Media Library to DreamObjects with this plugin. This plugin is not specific
to DreamObjects and can be used with a variety of different platforms.

As a result of the buggy plugin, that does not solely focus on DreamObjects, and being a decade customer of DreamHost,
who uses DreamObjects, I decided to build a service to ensure that I could easily link any website to DreamObjects without issues,
including any WordPress website, bridging that gap with an unofficial plugin that can easily connect to DreamObjects and upload files.

This service and plugin were created without any confirmation from DreamHost, as they never did respond back to my support ticket,
which they have now closed. I do firmly believe that there are a lot of DreamHost users that could use a plugin like this,
so that they can fully utilize DreamHost and all of its services.

This plugin requires registration of an account at DreamHost.com and DreamAPI.link.

Note: Any issues that arise with this plugin or the DreamAPI.link service are not associated with DreamHost.com.

Technical Details

DreamAPI (https://dreamapi.link) by NoteToServices (https://notetoservices.com) extends the functionality of DreamObjects to
WordPress, which serves as a file storage service, but with this plugin, allows you to turn it into a CDN.

Known Issues

Additional Info

  • Through DreamObjects Media, you can select a raw URL or a [dreamimg] shortcode.

  • The [dreamimg] shortcode has multiple built-in features including image src, alignment, title, alt, link, and target. src is the only requirement.

  • The [dreamimg] shortcode does not require a closing tag.

  • The [dreamimg] shortcode may include quotes if you prefer, but quotes are not required.

[dreamimg] shortcode usage:

[dreamimg src=https://DreamAPI.link/DreamAPI-logo.jpg href=https://DreamAPI.link/DreamAPI-logo.jpg link=yes|no align=left|center|right alt=”DreamAPI Logo” title=”DreamAPI website” target=_blank|_self|_top|_parent display=inline|block|contents|flex|grid|inline-block|inline-flex|inline-grid|inline-table|list-item|run-in|table|none|initial|inherit data-src=none|https://DreamAPI.link/DreamAPI-logo.jpg]

[dreamimg] shortcode details:
src = url of image [required]
href = link to image or another url
link = link directly to image or not
align = position of image
alt = alternative text for image
title = used for a title in the link
target = how you wish to open the link of the image
display = how you want your image to be displayed
data-src = data-src used for Javascript purposes, leave blank to capture the default src or none to remove data-src

Copyright Info

Copyright (C) 2015-2021 NoteToServices

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Terms

By using this plugin and enabling DreamAPI, you agree that your website will need to make external calls from DreamAPI.link and DreamObjects.

If you do not agree to these terms, please uninstall and delete this plugin.

If you find this plugin useful, please give a review.

DreamHost’s Terms of Service: https://www.dreamhost.com/legal/terms-of-service/
DreamAPI’s Terms of Service: https://DreamAPI.link/?page=terms

DreamAPI is a third-party service of DreamHost and was developed by NoteToServices under permission of DreamHost.

If you have any issues with the DreamAPI plugin, please use the DreamAPI support forums on WordPress, not the DreamHost forums.

You may not redistribute this plugin or alter the name in any way without permission from NoteToServices.