Skip to content

Text-based anonymous forum with retro aesthetics

License

Notifications You must be signed in to change notification settings

torunar/ascii-chan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

╔═╣ ASCII.chan ╠═══════════════════════════════════════════════════════════════╗
║                                                                              ║
║ Text-based anonymous forum with retro aesthetics.                            ║
║ Old computers, console applications, demo scene and ASCII art.               ║
║                                                                              ║
╚══════════════════════════════════════════════════════════════════════════════╝

Getting it up and running locally

Warning! This project uses PHP built-in server for running the forum. If you for some reason want to run it in production, please consider using a real web server.

  1. Clone the repository:
    $ git clone https://github.com/torunar/achii-chan.git
    $ cd ascii-chan
    
  2. Run it in development mode:
    $ docker build -t ascii-chan .
    $ docker run -d --name=ascii-chan --rm -v $(pwd)/data/storage/:/srv/data/storage -p 8080:8080 ascii-chan
    
  3. Access ASCII.chan:
    $ open https://0.0.0.0:8080
    

Managing forum

$ composer manage

Runs interactive PHP shell where you can use the following functions to manage the forum:

  • createBoard(string $slug, string $displayName) — creates a board with a specified slug and display name.
  • removeBoard(string $slug) — removes a board with a specified slug.
  • removeThread(int $id) — removes thread with a specified ID.

Screenshots

Board list

Board

Thread