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
-
The GNU Project Celebrates Its 40th Birthday
September 27 marks the 40th anniversary of the GNU Project, and it was celebrated with a hacker meeting in Biel/Bienne, Switzerland.
-
Linux Kernel Reducing Long-Term Support
LTS support for the Linux kernel is about to undergo some serious changes that will have a considerable impact on the future.
-
Fedora 39 Beta Now Available for Testing
For fans and users of Fedora Linux, the first beta of release 39 is now available, which is a minor upgrade but does include GNOME 45.
-
Fedora Linux 40 to Drop X11 for KDE Plasma
When Fedora 40 arrives in 2024, there will be a few big changes coming, especially for the KDE Plasma option.
-
Real-Time Ubuntu Available in AWS Marketplace
Anyone looking for a Linux distribution for real-time processing could do a whole lot worse than Real-Time Ubuntu.
-
KSMBD Finally Reaches a Stable State
For those who've been looking forward to the first release of KSMBD, after two years it's no longer considered experimental.
-
Nitrux 3.0.0 Has Been Released
The latest version of Nitrux brings plenty of innovation and fresh apps to the table.
-
Linux From Scratch 12.0 Now Available
If you're looking to roll your own Linux distribution, the latest version of Linux From Scratch is now available with plenty of updates.
-
Linux Kernel 6.5 Has Been Released
The newest Linux kernel, version 6.5, now includes initial support for two very exciting features.
-
UbuntuDDE 23.04 Now Available
A new version of the UbuntuDDE remix has finally arrived with all the updates from the Deepin desktop and everything that comes with the Ubuntu 23.04 base.