Set up your own media-sharing site with MediaGoblin
3D Goblin
One thing that makes MediaGoblin unique is being able to share 3D models on your site (Figure 5). The format used is STL, an industry standard that you can easily produce with Blender 3D [3].
To make this work, you will have to install a newish version of Blender (2.63 or later) on your box, somewhere on your global PATH, and include the line
[[MediaGoblin.media_types.stl]]
in the [plugins]
section of MediaGoblin_local.ini
. Then, do the usual
gmg updatedb ./lazyserver.sh --server-name=broadcast
Be warned that support for 3D in MediaGoblin is still spotty, and complex meshes with complicated nodes will probably crash the plugin. My advice is to strip down your models to the bare essentials.
Once you have loaded a mesh, you can see a shaded version in perspective from the front, top, or side, or you can pan, zoom, and move around it using the WebGL view and your mouse.
More media formats can be shared through MediaGoblin. See, for example, the "Text and PDF" box.
Text and PDF
MediaGoblin also allows you to upload, display, and share text file formats, both simple and rich (Figure 7). For PDF files, for example, include the line
[[mediagoblin.media_types.pdf]]
in your mediagoblin_local.ini
. Then, download pdf.js [4]. Unzip the package in your mediagoblin/static/extlib/pdf.js
directory, run gmg updatedb
, restart your server, and you're good to go.
In theory, this step should also allow you to upload ODF files to your platform, including text, spreadsheets, and more. The plugin should then transform the uploaded files to PDFs for sharing. Unfortunately, on my version, a bug crashed the process. MediaGoblin is being actively developed, so maybe by the time you read this, that bug also will have been squashed.
Usage
Once you've set up your site and created some users, it's time to upload some content. When you log in, your content is shown below the MediaGoblin menu bar. The bar is tucked away, but you can access it by clicking on the downward-pointing arrow on the right (Figure 6).
From here, you can change the setting in your account, visit the content-processing panel (if you are an admin user), log out, add content, or create a new collection. It doesn't get simpler than that. You also can group media into Collections, tag them, and comment on them, as well as change the look and feel of your site using themes.
Conclusion
Despite its bugs, MediaGoblin is great. Once you've gone through the admittedly complex installation and post-install configuration, you can see where MediaGoblin is headed and its enormous potential. Thanks to its modular architecture, new media formats are constantly being added and improved, and development of the platform is going ahead at full steam.
Currently, there's no easy way to embed your media into pages of non-MediaGoblin sites à la YouTube or Vimeo, nor is there any Share; these things, however, will no doubt be included in upcoming versions.
Additionally, the developers have lofty plans for the future. They plan to develop MediaGoblin as a "federated" network of media-serving sites, allowing a user to subscribe to multiple channels on one site, for example, regardless of whether the channels are hosted on the same site or another one on the same network. They are also implementing a blog plugin, which will make MediaGoblin an all-in-one solution for your media-flaunting needs.
Infos
- MediaGoblin: http://mediagoblin.org/
- MediaGoblin deployment: http://wiki.mediagoblin.org/Deployment
- Blender 3D: http://www.blender.org/
- Mozilla's PDF rendering library: https://github.com/mozilla/pdf.js/archive/master.zip
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.