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
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.