Projects

NOTE

img

Pretty empty on my projects page, right? Well, sadly I have a lot to do, so I have not much time to regulary update this anymore… In case you want to see my public-facing stuff, checkout my GitHub instead.

Otherwise, see you around!

Continue reading

LineageOS for Sony Xerpia 10 II

LineageOS 17.1 for the Sony Xperia 10 II

lineage

/*
 * Disclaimer - your warranty may be void.
 * 
 * I'm not responsible for bricked devices, dead OTGs or you getting fired because the alarm app failed.
 * Please do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, I will laugh at you.
 */

Well, I just release a LineageOS port for the Sony Xperia 10 II (dual-sim). As there is not so much to say about a custom rom - check it out on xda or you may even have a look into the sources over on GitLab or GitHub!

Continue reading

Shotcut Autoexporter v2

shotcut-autoexporter

What is it?

It is a reiteration of the first version - it now comes with an own (password-protected) web interface, network restrictions and an overall better useability. For v1 you needed to create an own Samba share, but with this version you only have to share the password for the UI (and possibly the ip address). It supports project queues, logs and temporary storage for the uploaded media. This version also comes with native Docker support and an official container, so you can get started right away! This is also my first project to rely more on use libraries and also to learn Python Flask.

Continue reading

Better Apache Listing

Better Apache Listing

The default apache listing for directories ist fast, simple and… UGLY.

screenshot

But not anymore!

This little index will finally bring some better style to apache. Just copy-paste the index.php onto your webspace and enjoy! It is also compartible with non-JS browsers.

Wanna use it?

Just go over to the GitLab Repository and grab your copy! Upload and enjoy.

Continue reading

The Green Bot

The Green Bot

thegreenbot

This is a Telegram Chat Bot, which allows you to execute scripts by a schedule. The user can select their desired scripts from a “store” and choose to activate them. After that they can run them manually or by a schedule based on an interval or by day/time combinations. I also choosed to create a public instance (the bot can be self-hosted - even with Docker support), which can be easily used with https://t.me/green_py_bot (the bot has been taken offline at 2020-12-12 due not enough users 😢…).

Continue reading

CaroProjects

CaroProjects is now Open Source!

caroprojects

…but wait - what is CaroProjects? Well, it is primarily a web application, designed to allow teachers to manage and distribute projects for their students on one central place. It therefore includes everything from user management, project planning and seat distribution. It uses a mobile friendly design, inspired by the Material Design by Google - completly written from scratch!

How it works…

Everything is seperated into two main sections: The API and the user frontend. The API is written in PHP and manages, validates and stores all data - provided by the JS-heavy frontend. Every new year the administrator can upload a new CSV file, containing the active users. The system will notify them about their new membership and provide all utilities needed to allow them to login for their first time. Whenever their time has come, one year of students is allowed to join the projects available for them - when the global deadline has been reached, the teachters can check out the joined users and start their project with them. Before that some checks are made, to ensure that every student had at least a chance to join their dream-project. After that they will be forcefully assigned to them.

Continue reading

Better Backgrounds

Better Backgrounds

…is an Cinnamon Desktop Applet to automatically change the desktop wallpaper. It is entirely written in JavaScript and also tries to minimze native system calls. It comes with various sources for images to download and display. Included are e.g. Unsplash, Bing or Picsum - at least while of writing this post.

Why?

Well, there is an other Applet out there (its purpose is just to display Bing Wallpapers), but I needed the ability to customize the downloaded image resolution (my monitor is kind of… HUGE). This caused me to investigae and understand how plugins and applets are written, and so I started to learn how the GNOME JS-Bindings work. And, after a while, I’ve started to drastically rewrite the initial copy of the Applet mentioned before. Better Backgrounds was born, because the refactoring started to escalate and slowly replace any original line of code.

Continue reading

Shotcut Autoexporter

What is it?

Imagine you have a little laptop for your work and you could edit some videos in Shotcut - but if you want to export anything with a reasonable quality you’re just confronted with a estimated time of several hours. Or worse: Shotcut does what every video editing program can do best - it simply crashes. Now imagine you know someone with a very fast pc - wouldn’t it be cool to just upload the project and get it exported in minutes? Meet this script! It allows you to queue your projects, processes it and presents the final result.

Continue reading

Pritunl fake API

What is this?

This neat script provides a little fake API to unlock all premium/enterprise/enterprise+ (here called ultimate) features of your own Pritunl VPN server. If Pritunl wouldn’t be mostly free already, you could call this a crack. An Open Source crack.

How was it developed?

Well, Pritunl has thankfully an demo site to show off all of its included features… And its Open Source, so the reverse-engineering was not too hard. This combined I was able to recreate the original Pritunl API endpoint and also hijack the key verification routines to serve some own custom CSS, which displays all the hidden options inside the web interface. After all that I only needed to create a little installer, which replaced all previous occurrences of the original api endpoint URL with a custom one. Thats it 😁!

Continue reading

Dear Templates

What is that?

This is a collection of little guides about servers, problems and features - mostly Linux. You can view and learn from them - they are designed to give a quick and dirty overview about a topic. Sometimes they also include notes to workarounds or tips and tricks! What ever you intend to do with them, have fun and make sure to share this repo, if it helped you!

Continue reading

Sendlight for LD382

screenshot

Whats that?

It is an interactive webinterface, which allows you to control the propertary chip from Magic Home. It also provides a basic API to repeat and send own patterns and actions. It is really leightweight and also useable on mobile. Here are some of the included features:

  • Favourite colors
  • Fade with speed / direct set
  • Animations (onyl the default ones) and speed
  • Automatic API-URI generation with curl support

The chip LD382

ld382chip

Continue reading

Linux OBS Virtual Camera

Whats that?

A simple script to implement the virtualCam-plugin for OBS under linux. Basically it enables (and installs) the required kernel module and starts the encoder for the stream. After this it starts automatically OBS and its recording - now you can use the virtual camera of OBS. At the end the encoder stops and the kernel module get removed.

This script was tested under Linux Mint 19 Tara.

How it works - in detail

  1. Installing the kernel module
  2. Activate the kernel module
  3. Create the pipe for OBS
  4. Enable encoder for the stream
  5. Start OBS and wait for finish
  6. Remove the pipe (-> this stops encoder)
  7. Wait for user input and then disable the kernel module
  8. Finish…

Check it out

Continue reading

Commandline

What and why!?

Well, there is not much to say… This one of my first PHP / HTML / CSS / JS projects. Its whole purpose is to provide a command-line-like website. The whole reason for this is, that paired with a headless httpd service (which is installed definitvly with the consent of the user) it can be pretty funny to execute random programs on the host system…

Does the world needs this? No.

Continue reading