Skip to content
/ DAPS Public
forked from NytrixLabs/DAPS

DAPS - (Definitely a Python Shell)

Notifications You must be signed in to change notification settings

YanamiRei/DAPS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

DAPS

DAPS is a shell written in pure Python. No other language is used, except JSON for the configuration file.


Installation

  1. Go to Releases and get the newest version of DAPS.

    • Releases come as .zip files. Pre-releases may be .zip or single files. Make sure you download the correct version.
    • Stable versions (marked as Release) are recommended.
  2. Once downloaded, extract it to a folder of your choice.

  3. Open the installer folder and run:

sh install.sh
  1. After installation, run:
daps

Usage

Basic shell commands work, like cd or ls.

Built-in commands include:

  • clear – Clears everything on screen.
  • clearhist – Clears shell history. After running this, the shell cannot record history until restarted. This prevents bugs.
  • exit – Exits the shell.
  • update – Updates DAPS by cloning the repository into a temp folder and copying it into /usr/bin.

clear

The clear command clears the screen.
See Configuration below for options.

clearhist

Clears shell history.
The shell cannot record history if this command has been run, until the shell is restarted. This is a safety feature.

exit

Exits the shell.

update

Updates DAPS by cloning the repository into a temporary folder and copying the new version into /usr/bin.


Configuration

The shell creates a file named config.json in the ~/.config/daps/ directory (where ~ is your current user's home folder).

By default, the file contains:

{}

To start editing, add options inside the braces:

{
}

"greeter"

The "greeter" option runs a command every time the shell starts:

{
  "greeter": "fastfetch"
}

This will run fastfetch at shell start.


"aliases"

The "aliases" option lets you create shell aliases:

{
  "aliases": {
    "ll": "ls -l"
  }
}

Note: Built-in shell commands cannot be used in aliases. Built-in commands are listed above.


"cleargreet"

The "cleargreet" option specifies whether the greeter should run when using clear:

{
  "cleargreet": "yes"
}

"devicename"

The "devicename" option specifies if the device name (e.g., ASUS E410MA) should be used instead of the hostname (e.g., fedora):

{
  "devicename": true
}

Example of a full config

{
  "aliases": {
    "ll": "ls -l"
  },
  "greeter": "fastfetch",
  "cleargreet": "yes",
  "devicename": true
}

More Information

  • More features are coming soon!
  • DAPS is protected by the GNU license, meaning any contributions or derivatives of the program must be fully open source.

© 2026, Nytrix Labs

About

DAPS - (Definitely a Python Shell)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.0%
  • Shell 1.0%