Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PROGAM LOGIC: STEPS

  1. Build the skeleton for the page (index.html)
  2. Serve the html on the web
  3. Add functionalties : Templates, Ascii art logic
  4. Test egde cases

DESCRIPTION

Ascii-Art-Web is a Go web application that converts user input text into ASCII art through a graphical web interface. The project extends the functionality of the original ascii-art project by introducing an HTTP server and dynamic web pages.

The application allows users to:
- Enter text through a text input field
- Choose between multiple banner styles:
  - standard
  - shadow
  - thinkertoy
- Submit the text to the server using HTTP POST requests
- Display the generated ASCII art directly on the webpage

The server handles:
- `GET /` — serves the main HTML page
- `POST /ascii-art` — receives form data, processes the selected banner, and returns the generated ASCII art

This project demonstrates:
- HTTP server creation in Go
- HTML templating
- Handling GET and POST requests
- Form processing
- Dynamic content rendering
- File handling and ASCII art generation

AUTHORS

  1. Temiloluwa Ewulogbo #tewulogb
  2. Muyideen Allison #mallison

USAGE

1. Run the server

go run .
  1. Open the application

Open your browser and go to:

http://localhost:5000

  1. Use the web interface
  • Enter text into the input field
  • Select a banner style:
    • standard
    • shadow
    • thinkertoy
  • Click the Generate Art button
  • The generated ASCII art will be displayed on the page

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages