r/linuxprojects • • Jun 16 '21

I made a linux daemon for changing you folder color every X minutes!

Thumbnail
self.sideproject
10 Upvotes

r/linuxprojects • • Dec 31 '17

5€ Linux Device as xmpp-chat-bot

Thumbnail
albert-david.blogspot.de
10 Upvotes

r/linuxprojects • • Jan 06 '17

Tutorial If you have couple of spare servers and want to build a cluster ! This might come in handy

Thumbnail
medium.com
10 Upvotes

r/linuxprojects • • Mar 24 '14

Discussion Shameless link to own blog, but it only contains my linux projects.

Thumbnail
0p.no
10 Upvotes

r/linuxprojects • • Jun 29 '24

Show & Tell Snap2AppImage: try to convert Snap packages to AppImages (experimental)

Thumbnail
self.appimage
9 Upvotes

r/linuxprojects • • Jun 28 '22

Announcing playCTF - An open source Jeopardy style CTF creation and management platform!

9 Upvotes

CTFs are much more than just an event or a competition, they are an adventure. And being able to host them on a great open source platform with ease adds to the fun.

SDSLabs is proud to announce the release of playCTF, a Jeopardy-style CTF challenge deployment and management platform.

Its intuitive and user-friendly deployment interface enables anyone to set up a CTF competition in a couple of minutes.

playCTF incorporates BEAST, our CTF creation platform, which provides container-based isolation of each challenge.

Check it out on https://playctf.sdslabs.co.

Experience playCTF on the playCTF playground, or have a peek at the source code.

Also, check out the Beast GitHub repository and the Beast User Documentation,

Give it a chance, and Beast will surely live up to it's name for you!

Made with 💖 by SDSLabs

Intrigued and wanna chat more with the team behind it?

(https://chat.sdslabs.co) and our Discord is open to all visitors and questions 😉


r/linuxprojects • • Jan 30 '22

Discussion Script to install newer GLIBC versions on older distributions (for testing purposes)

Thumbnail
self.appimage
9 Upvotes

r/linuxprojects • • Jan 04 '20

Giving Back: I offer you my pianobar/Pandora Launcher project

9 Upvotes

I had originally wrote this for /r/RetroPie but it was autoremoved for fear of sharing roms. So I present it here :D I use this script I made for my Waveshare Game HAT. What is that? Its a device with a screen, battery and buttons that backpacks on a raspberrypi. With the way I operate the device it does not use an X server, but instead launches emulationstation (software/frontend), and from there I launch terminal scripts.
Link to the Script
Script assumes you have pianobar installed (sudo apt-get install pianobar) and you have a config file in "~/.config/pianobar/config" that has your log-in information.
Default Config file

Its just a menu of choices that changes the "autostart_station = value" and then launches pianobar with that modified config file.

If you can run pianobar with no problems from the terminal you can run this script. All you would want to do is change the STAT variables at the top and give those variables a "Radio" station name under the OPTIONS in the script.
You can get the station "id" from the url of a pandora stream.
ex: https://www.pandora.com/station/play/225989307863466885

Eventually I will add more of my own stations, and have the config file mapped to the Game HAT control buttons. The reason I picked this method is because I don't usually have a keyboard/mouse hooked up. At the moment the "B" button on the Game HAT works to pause the music, restarting pi to quit playback is annoying, but it works! Onward to the button control.

I also hooked up an SDR radio this weekend to this little guy - I think its cool to get devices to do things they aren't necessarily designed for. If you have any comments or a projects you think I'd like please share! And thanks for looking!


r/linuxprojects • • May 28 '18

Tutorial bashed-on-a-feeling : a minimalistic and fast git prompt aimed to make version control using git much more easier.

Thumbnail
github.com
9 Upvotes

r/linuxprojects • • Aug 25 '25

Show & Tell Considering RHEL for future Linux projects – found this intro helpful

8 Upvotes

Hey everyone,

I’m exploring different Linux distros for upcoming projects and started looking into Red Hat Enterprise Linux (RHEL). While doing some research, I found this article that gives a pretty straightforward introduction — from its Fedora roots, supported desktop environments (GNOME, KDE), server/workstation use cases, to package management with .rpm and access to RPM Fusion (10k+ apps).

Here’s the link if anyone else is curious:

For those of you who’ve actually used RHEL (or CentOS/AlmaLinux/Rocky Linux), how has it worked out in real projects? Would you recommend it over other distros for stability and long-term setups?


r/linuxprojects • • Jun 23 '24

Discussion Just a noob.. Needs some starting point.

8 Upvotes

Hi folks! so, am just a noob, just learning programming. Am using linux for almost a year now and wants to build something, my own stuff which I think is lacking in linux for me. And for that I've search everywhere and asked gpt about the road map and how can I even start. Like which technology I should learn, where can I get my hands on like stuff. But didn't get any clear answer, I've check the sites but like kde neon but got nothing or I should say more overwhelming for me.

Can you guys help me out and tell me where can i get materials and what technology I need to learn?


r/linuxprojects • • May 05 '23

Show & Tell Script to create AppImage packages easilly using PPAs and additional options

8 Upvotes

Hi everybody, in two years working on AM I've built a dozen of AppImage packages for my package manager, using my custom workflow. Now it's time to share it to you. I've just finisced to write and test a script extracted from my recipes.

I've called it "AppImaGen", and this is the link: https://github.com/ivan-hc/AppImaGen

All the instructions are on the README.

Cheers and... have fun!


r/linuxprojects • • Mar 07 '23

Show & Tell vDisc - mounts disc images

8 Upvotes

I have created a small tool, called vDisc, that makes super simple to mount and unmount disc images.

I found that other tools already do that, but they have a few issues. And it can be greatly simplified.

Here's a demonstration:

https://youtu.be/RZocjdtP8Gs


r/linuxprojects • • Oct 22 '22

Tutorial I Create a PAM module that makes me play a game to log in!

8 Upvotes

PAM is a collection of libraries that allows you to decide how you authenticate your users to different applications on your Linux OS.

I created a demo of a PAM module, and it looks pretty cool: https://www.youtube.com/watch?v=PdZw3PS9weY&ab_channel=AviRzayev

I also created a tutorial on Medium which explains more about PAM: https://medium.com/@avirzayev/linux-pam-how-to-create-an-authentication-module-cc132115bdc5


r/linuxprojects • • May 01 '22

Linux crossplatform GUI programming success stories wanted.

8 Upvotes

I would like to ask what programming languages, libraries, IDEs, tools, scripts have you used to successfully create GUI+CLI programs. Personally I'm looking for higher-level languages, meaning C and C++ goes out of window there. I have deep background for C#, but hadn't found polished, popular and LTS library for writing GUI programs for Linux, ideally crossplatform.

I'm currently lookin into Python too, but I don't have any libraries in my bag yet. Ideally C# full-Linux based coding workflow would be wannabe. No Windows tools. On Windows WinForms is still the easiest choice with C#, what would be with Linux? I have looked into MAUI Linux support, but it is only for future support[1][2]

I would like to pack program into flatpak and use GPL2 license.

[1] https://github.com/dotnet/maui/discussions/339
[2] https://github.com/dotnet/maui/issues/5801


r/linuxprojects • • Jan 21 '22

Tutorial How to create (and test) your own AppImage using pkg2appimage in "AM" Application Manager (command "am -t" usage, option 5)

8 Upvotes

r/linuxprojects • • Mar 07 '21

Netbook new life

8 Upvotes

Hi I'm new with Linux, I have installed lubuntu and I was wondering if I can change some parameters in Linux file system, in boot or root folders. to speed up my 1gb ram and 32bit architecture netbook thanks for all.


r/linuxprojects • • Mar 14 '19

After days of work I finally finished my network monitoring system completely based on Raspberry PIs. More details in the comments.

Thumbnail
imgur.com
8 Upvotes

r/linuxprojects • • Feb 16 '14

Tutorial IPSEC VPN server CentOS setup

Thumbnail fattylewis.com
8 Upvotes

r/linuxprojects • • Jan 02 '13

Tutorial CPU temperature graph on a website

8 Upvotes

This describes a small setup to collect CPU temperature data hourly and show a neat graph on a webpage. It does not cover installation and how to get services to run, but if you're stuck maybe someone can help in the comments. I don't have the time for a fully featured, from-the-scratch description.

The data saved in a database (mongodb) by a cron script and can be requested via http from a nodeJS instance running restify. The data is displayed with jqPlot.

Here is an example image of what it looks like.

A few things before you read on: English is not my first language, please excuse all mistakes. This is also the first tutorial i've ever written, so it maybe it isn't very good. I hope the formatting is as i would like it to be.

Used software:

  1. bash (you should know this…)

  2. mongodb

  3. nodeJS, restify

  4. nginx

  5. jqPlot, jQuery

first step: setting up mongodb. I have mongodb running as a daemon and created a database called Homepage.

second step: collect the data. I have a script in /etc/cron.hourly that reads my cpu temperature and writes it into a collection called data (not very creative, i know). The script looks at follows:

#!/bin/bash
MONGO_EVAL_COMMAND="/usr/local/mongodb/bin/mongo Homepage --quiet --eval"
DATE=$(date "+%s")000

JSON="var myStatus = ["

CPU_JSON="{name: 'CPU', temp: "$(sensors | sed -n -r 's/^temp1:\s+\+([0-9]{2}\.?[0-9]?).C.*$/\1/p')", remark: 'Temperature of the CPU', warn: '70', crit: '100', date: $DATE}"
$MONGO_EVAL_COMMAND "printjson(db.data.insert($CPU_JSON))" > /dev/null
JSON=$JSON$CPU_JSON

JSON=$JSON"];"

I am by no means an bash expert, so this may be really shitty. The sed command probably needs to be customized for your cpu. The output of my sensors command is as follows:

k10temp-pci-00c3
Adapter: PCI adapter
temp1:       +36.6 C  (high = +70.0 C, crit = +100.0 C)  

sed parses the 36.6 out of this.

third step: access the data. This is done via a very small nodeJS service which is proxied behind nginx. I'll just post it.

var restify = require('restify');
var mongo = require('mongodb');
var mongoServer = mongo.Server;
var Db = mongo.Db;

var mserver = new mongoServer('localhost', 27017, {auto_reconnect: true});
var  homepageDB = new Db('Homepage', mserver);

homepageDB.open(function() {});

var server = restify.createServer({
    name: 'GraphServer'
});

server.use(restify.bodyParser({mapParams: true}));

function getCpuData(req, res, next) {
    var data = homepageDB.collection('data', {safe: true}, function(err, collection) {
        if(err) {
            console.log(err);
        } else {
            collection.find({name: 'CPU'}, {limit: 24, sort:[['date', -1]] }).toArray(function (err, docs) {
                res.send(docs);
            });
        }
    });
    return next();
}

server.get('/getCpuData', getCpuData);
server.listen(25999);

The nginx config looks like this (only the relevant part):

…
location /nodejs {
            proxy_pass http://localhost:25999/;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
    }

…

So after this i can access the last 24 hours as a json string via http://myhost/nodejs/getCpuData.

fourth step: the frontend: Now we need a webpage to display the data. I used jQuery to access the information from nodeJS because i'm lazy and jqPlot to plot a graph. The relevant stuff:

<script src="bootstrap/js/jquery-1.8.2.min.js" type="text/javascript"><!-- --></script>
<script src="jqplot/jquery.jqplot.min.js" type="text/javascript"><!-- --></script>
<script type="text/javascript" src="jqplot/jqplot.dateAxisRenderer.min.js"><!-- --></script>
<script type="text/javascript" src="jqplot/jqplot.canvasAxisTickRenderer.min.js"><!-- --></script>
<script type="text/javascript" src="jqplot/jqplot.canvasTextRenderer.min.js"><!-- --></script>
<link rel="stylesheet" type="text/css" href="jqplot/jquery.jqplot.min.css" media="all">
…
<div id="jqplotdiv">
</div>

<script type="text/javascript">

     $.ajax('nodejs/getCpuData', {
         success: function (data) {
            var newArray = new Array();
            for (var i = 0; i < data.length; i++) {
                 newArray.push([data[i].date, data[i].temp]);
             }
             $.jqplot('jqplotdiv', [newArray],
                {
                    title: "CPU temperature",
                    axes:{
                        xaxis: {
                            renderer: $.jqplot.DateAxisRenderer,
                            tickRenderer:$.jqplot.CanvasAxisTickRenderer,
                            tickOptions: {
                                  formatString: '%H:%M'
                             }
                         }
                    }
                }
            );
        }
    }
    );
</script>
…

Well, that's it. This webpage should display the graph as in the picture above.

EDIT: formatting


r/linuxprojects • • Nov 29 '23

Show & Tell Newsraft 0.22: like a boat, but faster

7 Upvotes

Newsraft is a terminal feed reader which received an update recently! https://codeberg.org/newsraft/newsraft


r/linuxprojects • • May 19 '23

Show & Tell ~vern is a project that encourages people to create and learn free software with linux!

7 Upvotes

what is that about?

it is a place to learn, create and share not only your own projects but rather linux experiences. it also hosts some neat services and has a pubnix running NixOS with linux-libre, so you can install your own packages and do some server stuff free of charge and with the capability of installing packages! you should definetively check it out if you want to meet new people, create some software and just be around with linux!

learn about it


r/linuxprojects • • Apr 23 '23

Show & Tell Yo: unleash power of AI at /home

7 Upvotes