Welcome to my go-newspaper-display
repository! 🎉 This is where I showcase my love for newspapers and Go programming. 😄
Here's a quick overview of what you'll find in this repo:
go-newspaper-display/
├── Dockerfile 🐳
├── README.md 📝
├── cache 📂
├── config.yaml ⚙️
├── docker-compose.yaml 🐙
├── go.mod 📦
├── go.sum 📋
├── main.go 🚀
└── templates
└── home_with_image.html 🌐
Dockerfile
: The recipe for building our Docker image 🏗️README.md
: You're reading it right now! 😉cache
: Where we store our cached newspaper images 🖼️config.yaml
: Configuration file for specifying PDF URLs and cache time ⌛docker-compose.yaml
: Defines our Docker Compose services 🐳go.mod
andgo.sum
: Go module files for managing dependencies 📦main.go
: The heart of our application, where all the magic happens ✨templates/home_with_image.html
: HTML template for displaying the newspaper image 🗞️
- Make sure you have Go and Docker installed on your machine 💻
- Clone this repository and navigate to the project directory 📂
- Update the
config.yaml
file with your desired PDF URLs and cache time ⚙️ - Run
docker-compose up
to start the application 🚀 - Open your web browser and visit
http://localhost:8080
to see the newspaper display! 🌐
If you have any suggestions, bug reports, or want to contribute to this project, feel free to open an issue or submit a pull request. Let's make this the best newspaper display ever! 📰💪
Happy coding! 👨💻👩💻