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
-
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.
-
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.
Comment
?
PiggyDB example??
--
dukeofperl