https://github.com/iamafnansk/damnbasher
This code powers the containers for the damnground project
https://github.com/iamafnansk/damnbasher
containers docker nodejs socket-io terminal
Last synced: 2 months ago
JSON representation
This code powers the containers for the damnground project
- Host: GitHub
- URL: https://github.com/iamafnansk/damnbasher
- Owner: IamAfnanSk
- Created: 2021-06-12T10:58:48.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-21T23:46:22.000Z (over 2 years ago)
- Last Synced: 2025-04-12T22:55:26.454Z (about 1 year ago)
- Topics: containers, docker, nodejs, socket-io, terminal
- Language: TypeScript
- Homepage: https://damnground.afnan.dev
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Damnbasher
### This code powers the containers
Damnbasher is responsible for handling all file I/O and CLI I/O of the Damnground app
This is the container powering part of the project which is used by [damnground](https://github.com/IamAfnanSk/damnground) and [damnbackend](https://github.com/IamAfnanSk/damnbackend).
## Features
- CRUD Files via SocketIO
- File manager for damnground
- CLI handler for damnground web terminal
- Great ability to scale
## Tech
Damnbasher uses these tech to power itself:
- Chokidar - For file watching ability
- node.js - I/O for the backend
- NodePTY - Psuedo terminal to interact via web
## Installation
Install the dependencies and devDependencies and start the server.
```sh
cd damnbasher
npm i
node run dev
```
For production environments...
```sh
npm run build
```
## Docker
Damnbasher is spuer easy to deploy in a Docker container.
```sh
cd damnbasher
docker build -t /html:.
```
This will create the damnbasher html image and pull in the necessary dependencies.
Run
```sh
docker run -d -p 1337:1337 -d -/damnbasher:
```
## Author
# Afnan Shaikh