DietPi | Lightweight justice for your single-board computer

 by   MichaIng Shell Version: Current License: GPL-2.0

kandi X-RAY | DietPi Summary

kandi X-RAY | DietPi Summary

DietPi is a Shell library typically used in Internet of Things (IoT), Raspberry Pi, Debian applications. DietPi has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has medium support. You can download it from GitHub.

DietPi is an extremely lightweight Debian-based OS. It is highly optimised for minimal CPU and RAM resource usage, ensuring your SBC always runs at its maximum potential. The dietpi programs use lightweight whiptail menus. You'll spend more time enjoying DietPi and applications you need and less time staring at the command line. Use dietpi-software to quick and easy install Ready to Run & Optimised applications for your system. DietPi will do all the necessary configurations, including starting the services. Few highlights: Desktop Environments, Remote Desktop Access, Media Systems & Players, BitTorrent & Downloading, Cloud & Backup, Gaming & Emulation, Social & Search, Camera & Surveillance, Networking, System Stats & Management, Home Automation, Hardware & Voice Projects, Webserver Stacks, DNS Servers / Pi-hole, File Servers, Printing and much more. Use dietpi-services to control which installed software has higher or lower priority levels (nice, affinity, policy scheduler). dietpi-update automatically checks for updates and informs you when they are available. Update instantly, without having to write a new image. DietPi automation allows you to completely automate a DietPi installation with no user input, simply by configuring dietpi.txt before powering on.

            kandi-support Support

              DietPi has a medium active ecosystem.
              It has 3933 star(s) with 454 fork(s). There are 145 watchers for this library.
              It had no major release in the last 6 months.
              There are 348 open issues and 4288 have been closed. On average issues are closed in 46 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of DietPi is current.

            kandi-Quality Quality

              DietPi has 0 bugs and 0 code smells.

            kandi-Security Security

              DietPi has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              DietPi code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              DietPi is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              DietPi releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of DietPi
            Get all kandi verified functions for this library.

            DietPi Key Features

            No Key Features are available at this moment for DietPi.

            DietPi Examples and Code Snippets

            No Code Snippets are available at this moment for DietPi.

            Community Discussions


            Why is this NGINX config file invalid?
            Asked 2021-Dec-30 at 21:24

            So I have this NGINX config file:



            Answered 2021-Dec-30 at 21:24

            Typo is server instead of server_name within the server {} block



            what options to use with rsync to sync online new files to remote ntfs drive?
            Asked 2021-Jan-28 at 14:28

            i run a mixed windows and linux network with different desktops, notebooks and raspberry pis. i am trying to establish an off-site backup between a local raspberry pi and an remote raspberry pi. both run on dietpi/raspbian and have an external hdd with ntfs to store the backup data. as the data to be backuped is around 800GB i already initially mirrored the data on the external hdd, so that only the new files have to be sent to the remote drive via rsync.

            i now tried various combinations of options including --ignore-existing --size-only -u -c und of course combinations of other options like -avz etc.

            the problem is: nothing of the above really changes anything, the system tries to upload all the files (although they are remotely existing) or at least a good number of them.

            could you give me hint how to solve this?



            Answered 2021-Jan-28 at 14:28

            I do this exact thing. Here is my solution to this task.



            DietPi - running a script manually works - but starting from postboot.d throws I/O error
            Asked 2020-Dec-24 at 18:24

            I'm trying to run a script automatic when booting Raspberry with DietPi. My script starts a Python3 programm which then at the end starts an external program MP4Box which merges 2 video files to a mp4 in a folder in my lighttp webserver.

            When I start the script manually everything works. But when the script starts automatically on boot, when it comes to the external program MP4Box, I get an error:



            Answered 2020-Dec-24 at 18:24

            Contrary to the description, the scripts in postboot.d are not excuted as root. So I changed my script to:



            Iptables for Tor proxy on a raspberry with DietPi distro
            Asked 2020-Dec-10 at 13:46

            I want to use my raspberry for two purposes:

            • Tor proxy
            • Email server

            So, the tor proxy is already set and I was able to use it. I installed the tor services on my DietPi distro, I configure the proxy on my browser, port 9050 socks v5, and everything is cool. I decided to install the email server but, first, I was setting up iptables as firewall. I was following a tutorial for the setting and I copied and paste the rules. Anyway, even if I comment the rules when I set the proxy in the browser I can not reach anything, I got a timeout. If I remove iptables, uninstall it, the proxy works again. If i run a


            this is what I got



            Answered 2020-Dec-10 at 13:46

            In the end it was quite a basic fix to do. What you need to do is just adding these two lines in your




            DietPI: _tkinter.TclError: no display name and no $DISPLAY environment variable
            Asked 2020-Dec-05 at 10:55

            i want to run a python script on dietPI. I chose dietPI because i want to boot fast.

            When i run a simple tkinter program i get the error _tkinter.TclError: no display name and no $DISPLAY environment variable Ive already tried setting a display variable like so: export DISPLAY=:0 (i tried other numbers aswell)

            but then i get _tkinter.TclError: couldn't connect to display ":0.0"

            Any help?



            Answered 2020-Dec-05 at 10:55

            This took me all day to get working. (I also posted this same answer on a different SE site here:

            Note: This is for raspbian, with main user account using the default username ("pi")

            Here are the steps in order:

            Name your python file and drag your python file to the desktop.

            Next, create a new plain text file and add the following contents:



            Can't load Image source in QML Image on Raspberry Pi
            Asked 2020-Aug-20 at 19:56

            I'm cross compiling a Qt project using Qt Creator and I'm getting the following error:



            Answered 2020-Aug-20 at 12:52

            Here is a code snipped for you.




            RaspberryPi is sending messages to AWS IoT - I cant test it on the aws console
            Asked 2020-Jun-26 at 10:10

            I got my RaspberryPi registered as a Thing in Aws IoT.

            Im executing this python script:



            Answered 2020-Jun-26 at 10:10

            I figured out what the problem was:

            I did not know that I have to attach the thing and the policy to a certificate. That seems like it was the problem, now I am getting the messages straight to my test console.

            If someone runs into this issue, check out this Blog Entry which helped me fix it.



            How to select using sqlalchemy api with where clauses multiple filters?
            Asked 2020-Mar-03 at 23:33

            I am trying to write a generic method that should accept filter dictionary as key values pair and using sqlalchemy create select statement supporting multiple where clauses.



            Answered 2020-Feb-27 at 09:41

            Please try the following code:


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install DietPi

            You can download it from GitHub.


            Git coders, please use the active development branch: dev.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone MichaIng/DietPi

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Reuse Pre-built Kits with DietPi

            Consider Popular Shell Libraries


            by sindresorhus


            by ohmyzsh


            by gothinkster


            by nvm-sh


            by papers-we-love

            Try Top Libraries by MichaIng


            by MichaIngHTML


            by MichaIngHTML


            by MichaIngShell


            by MichaIngShell


            by MichaIngPython