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