Commie: Pastebin with Comments
Productivity Sauce
Pastebin services are usually one-trick ponies: they allow you to publish and share code snippets, and that's about it. But Commie brings something new to the table: this pastebin service allows you to add inline comments to a code snippet after it has been published. This seemingly simple addition to the otherwise standard web app makes Commie ideal for collaborating on shared snippets. Adding a comment to the published snippets couldn't be easier: click on the desired line number, enter the comment, provide your name, and press Save. It's possible to add multiple comments to a single line, and Commie uses different color labels for different user names. As any pastebin service worth its salt, Commie supports syntax highlighting for many popular programming languages. When working with Commie, keep in mind that all published snippets are public, and the app doesn't offer a way to delete published snippets or comments in them.
The fact that Commie is dead easy to install makes it an attractive choice for deploying a self-hosted pastbin app. All you need is a machine running a web server and PHP. Provided that Git is installed on the server machine, clone the project repository into the document root of the web server and make the resulting commie directory writable by the server:
cd /var/www git clone https://github.com/splitbrain/commie.git chown www-data -R commie/
That's all there is to it.
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Digital Autonomy
• The Answer Was Already on the Shelf
• Changing the Chip Industry: How Public Investment Has Grown Open Silicon
• United Nations Open Source Portal Goes Live
• EU Open Source Strategy Plays Key Role in Tech Sovereignty Package
• France Says “Au Revoir” to Microsoft
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
-
The Linux Kernel Dev Staging Area Now Rejects AI-Generated Patches
Unless a kernel patch is a valid security fix, it will be rejected if it was created using AI.
-
Linux Surpasses Double-Digit Market Share
According to two sources, the Linux operating system has hit a major milestone in market share that naysayers thought would never happen.
-
AI Helped Develop a Linux Exploit
A use-after-free race exploit was discovered and exploited on CentOS Stream 9.
-
Yet Another Linux Kernel Vulnerability Discovered
Affecting millions of systems, a kernel flaw discovered by Qualys could allow users to gain root privileges.
-
Ubuntu 26.10 to Include Ubuntu Certified Hardware Check
If you've ever wondered if your laptop or PC is officially certified to run Ubuntu, that curiosity will soon be met.
-
Substantial Update to IPFire Now Available
The lastest version of IPFire features a fundamental change to how the system handles DNS.
-
Gnome Working on Test Center App to Make Testing Easier
It's now possible to test experimental features on the Gnome desktop without worrying that you'll break things.
-
New Vulnerability Discovered in Linux Kernel
Hiding out for nearly 15 years, the Ghostlock vulnerability allows a standard logged-in user to gain root privileges.
-
New Linux Flaw Lets Attackers Escape VMs
A 16-year-old vulnerability allows an attacker to escape a virtual machine, gain access to the host, and execute malicious code.
-
Hannah Montana Linux Is Back!
Developer Noah Cagle decided the world needed the once obscure but beloved Linux distribution and gave it a decidedly pink refresh.
