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
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.