{"repo":"adinhodovic/django-admin-shellx","free":true,"listed":false,"github":"https://github.com/adinhodovic/django-admin-shellx","clone":"git clone https://github.com/adinhodovic/django-admin-shellx.git","description":"A Django Admin Web Shell using Xterm.js and Django Channels.","language":"Python","stars":111,"topics":["django","django-admin","django-application","python","terminal","xterm"],"license":"MIT","category":"cli-tools","readme_excerpt":"Django Admin Shell A Django Web Shell using Xterm.js and Django Channels. Note: This package depends on websockets therefore you'll need to use an ASGI application to use it. If you are not using Django channels then read through the official Channels' documentation on installing Channels, also see the Channels' documentation on running ASGI applications. Demo The demo is from Django.wtf's admin. Features - Fully responsive terminal using Xterm.js. - Accessible through the admin. - Authentication with Django auth, configurable to allow only superusers. - The commands written are tied to a user. - Saves command in a new model and create favorite commands. - Filterable command history. - LogEntry of all commands ran. - Custom admin site to add Terminal links to the admin. - Full screen mode. - Working autocomplete. Installation Install the package using pip: Add django admin shellx to your INSTALLED APPS : The package uses websockets for real-time communication between a pseudo-shell on the server and Xterm.js in the browser. Django doesn't handle websockets natively, so we have to deploy a second WSGI server for this purpose. We will have to add an ASGI configuration file for the websocket server: When running the server in production you'll have: 1. A Django server which serves all of your traditional HTTP traffic (wsgi.py). 2. A Websocket server which serves the terminal traffic (asgi.py). 3. A reverse proxy which routes traditional traffic to the HTTP server and all websock","default_branch":null,"files":null,"tree":[],"storefront":"/r/adinhodovic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/adinhodovic/django-admin-shellx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}