Organize Your Knowledge with Piggydb

Productivity Sauce
We all have our area of expertise, but how can you actually convert your knowledge into an accessible and searchable form? To do this, you need software that allows you to create and maintain knowledgebases -- something like Piggydb.
Piggydb comes as a single .zip archive which contains everything you need to get started. Unpack the archive, switch to the resulting directory in the terminal, execute the sh run.sh command, and Piggydb is ready to go. Point your browser to http://localhost:8080 and log in using "owner" as both the user name and password. You can then start populating the database with entries (called fragments in Piggydb) by clicking on the Create a new fragment link. Piggydb supports two types of fragments: text and file. As you might have guessed, the latter allows you to attach a file to the knowledgebase entry. Creating a text fragment is as easy as specifying a title and entering the actual content in the appropriate fields. Piggydb supports a subset of wiki markup, including different text styles, lists, preformatted text, tables, and links. You can view a full list of the supported formatting options with brief descriptions and examples by clicking on the Wiki Markup link at the bottom-right corner of the Content field. You can also specify tags in the Tags field. Once the fragment is ready, hit the Preview button to preview it and Register to add the fragment to the database. The Create a new fragment link lets you create a top-level knowledgebase article, but you can also add a sub-article to any of the existing fragments by clicking on the fragment's hyperlinked number in the title and clicking on the Create a new related fragment link. You can also establish a relation between the currently viewed fragment and any other fragment in the database. To do this, enter the number of the target fragment in the Create a new relation to field and press OK.
Piggydb makes extensive use of tags when it comes to finding the fragments you need. To view all fragments containing a specific tag, simply press on the tag you want. This displays all relevant fragments along with a list of related tags in the Related Tags section. Click on any tag on the list to include it in the current search. If you often need to view fragments containing a certain tag or tags, you can use the Filter feature, so you don't have to specify the same search query every single time. Choose Filter -> New filter, pick the tags you want to include and exclude from the search, give the filter a name, and press Save. Next time you press on the Filter button in the navigation menu, you will see a list of fragments that match the filter's criteria. The Tag tree feature (Tags -> Tag Tree) lets you specify a filter on the fly by simply picking the tags you want.
Finally, Piggydb makes it rather easy to back up and restore your knowledgebase. Choose System -> Export, press the Export the current database button, and the system saves fragments and attached files as a single .pig archive (a zip archive containing an XML file of all the fragments and a folder with the attached files). Restoring the knowledge base is equally easy: choose System -> Restore, select the .pig file, and press the Restore the database button.
Comments
comments powered by DisqusSubscribe 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
-
EndeavorOS Mercury Neo Available
A new release from the EndeavorOS team ships with Plasma 6.3 and other goodies.
-
Fedora 42 Beta Has Arrived
The Fedora Project has announced the availability of the first beta release for version 42 of the open-source distribution.
-
Dash to Panel Maintainer Quits
Charles Gagnon has stepped away as maintainer of the popular Dash to Panel Gnome extension.
-
CIQ Releases Security-Hardened Version of Rocky Linux
If you're looking for an enterprise-grade Linux distribution that is hardened for business use, there's a new version of Rocky Linux that's sure to make you and your company happy.
-
Gnome’s Dash to Panel Extension Gets a Massive Update
If you're a fan of the Gnome Dash to Panel extension, you'll be thrilled to hear that a new version has been released with a dock mode.
-
Blender App Makes it to the Big Screen
The animated film "Flow" won the Oscar for Best Animated Feature at the 97th Academy Awards held on March 2, 2025 and Blender was a part of it.
-
Linux Mint Retools the Cinnamon App Launcher
The developers of Linux Mint are working on an improved Cinnamon App Launcher with a better, more accessible UI.
-
New Linux Tool for Security Issues
Seal Security is launching a new solution to automate fixing Linux vulnerabilities.
-
Ubuntu 25.04 Coming Soon
Ubuntu 25.04 (Plucky Puffin) has been given an April release date with many notable updates.
-
Gnome Developers Consider Dropping RPM Support
In a move that might shock a lot of users, the Gnome development team has proposed the idea of going straight up Flatpak.
Comment
?
PiggyDB example??
--
dukeofperl