Skip to content

samail-islam/Defthon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Defthon – A Python Terminal Operating System

Defthon is a lightweight, Linux-inspired terminal operating system written entirely in Python.
It is designed for learning, experimentation, and fun.

Defthon recreates the feel of popular Linux terminals (Ubuntu, Debian, etc.) by implementing classic commands like uptime, cal, cmatrix, find, cat, cp, ls etc.

This project is perfect for:

  • 📖 Learning how terminals work
  • 🖥 Practicing Python
  • 🔧 Building command systems
  • 📋 Understanding OS-like concepts

✨ Features

  • Linux-style command prompt
  • Cross-platform (Android, Windows, Linux, macOS)
  • File searching and text filtering
  • Downloading files from web
  • Third party app support
  • Matrix rain animation
  • Other classic commands

🔥 Usage

Use help command to see all available commands and usage.

Special Commands:

  • defstore is a default app for installing, uninstalling or updating third party apps.

  • td command is used to use the third party apps.


Note

Images used in the documentation is for example, main program may be different


🛠 Requirements

  • Python 3.8+
  • Third party library:
    pip install colorama
    pip install requests

🚀 Getting started

  • Clone this repository using git clone:
    git clone https://github.com/samail-islam/Defthon
  • Install the requirements manually or use:
    pip install -r requirements.txt 
  • Run the main.py file to start the program.

📚 Tech stack

Defthon uses:

  • built in modules like os, shutil,sys,subprocess,pathlib etc for real os level operations.
  • colorama for bringing color to the terminal.
  • requests for installing third party apps and downloading file from internet or other web based tasks.

📄 License

This program is licensed under GNU General Public LICENSE v2


Caution

Defthon is not a toy program, it can delete, edit files/directory or install things using pip. Use it with caution.

About

A command line based OS like program in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages