Skip to content

01founders-crack/ascii-art-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCII Art Web

ASCII Art Web is a simple web application that allows users to generate ASCII art based on different art styles and input text. Users can select an art style and provide text, and the application will generate and display ASCII art corresponding to the chosen style.

Features

  • Select from different art styles: Standard, Shadow, ThinkerToy.
  • Input your own text to generate custom ASCII art.
  • User-friendly web interface for easy interaction.

Project Structure

ascii-art-web
├── README.md
├── ascii-art
│   ├── AsciiArt.go
│   └── artstyles
│       ├── shadow.txt
│       ├── standard.txt
│       └── thinkertoy.txt
├── go.mod
├── handlers
│   └── handlers.go
├── main.go
├── server
│   └── server.go
├── static
│   ├── script.js
│   └── style.css
├── templates
│   ├── errors
│   │   ├── 404.html
│   │   └── 500.html
│   ├── index.html
│   └── layout.html
└── tests
    └── main_test.go

How to Run

  1. Clone the repository to your local machine.
  2. Install Go if you haven't already.
  3. Navigate to the project directory in your terminal.
  4. Run go run main.go to start the web server.
  5. Open your web browser and go to http://localhost:3000 to access the application.

Tests

go test ./tests

Usage

  1. Open the web application in your browser.
  2. Select an art style from the provided options.
  3. Enter the text you want to convert to ASCII art.
  4. Click the "Generate" button to see the generated ASCII art.

Contributing

Contributions are welcome! If you find any issues or want to improve the application, feel free to submit a pull request.

License

This project is licensed under the MIT License.