Skip to content

This repository hosts a Flask-based web server designed to run on a Raspberry Pi. The server's primary functionality revolves around fetching memes from Reddit and storing them in a database

Notifications You must be signed in to change notification settings

oran950/Raspberry-Pi-Flask-Meme-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Raspberry-Pi-Flask-Meme-Server

Flask Website on Raspberry Pi for Local Network Access

This project make me learn a lot about building web server and connect it to data base . the project enables users to host a Flask website on a Raspberry Pi, allowing access from any device connected to the same local network.this project offers a seamless solution for hosting web applications within a local environment. The server's primary functionality revolves around fetching memes from Reddit and storing them in a database.

my raspberri pi terminal:

image

my main computer:

image

**make sure the html file is inside folder named templates

GoogleCloud SQL(my instance):

image

Service account (cloud-sql-proxy dialog-appointment-bot):

image

MySQL DataBase preview:

image

Features:

Utilizes Flask, a micro web framework for Python, to create web pages. using the Raspberry Pi as a server, providing a solution for hosting the website within a local network. i can access the website from any device connected to the same local network, including smartphones, tablets, laptops, and desktop computers. The website fetches random memes from Reddit and displays them to the users.

Usage:

1)Setup Raspberry Pi: Install necessary dependencies and configure the Raspberry Pi for hosting the Flask website.

2)Clone Repository: Clone this repository onto the Raspberry Pi.

3)Configure Flask App: Customize the Flask application according to your requirements.

4)Run Flask App: Start the Flask application on the Raspberry Pi.

5)Access Website: Open a web browser on any device connected to the same local network and navigate to the Raspberry Pi's IP address to access the website.

Getting Started:

To get started with this project, do that:

1)Install Flask on your Raspberry Pi.

2)Clone this repository onto your Raspberry Pi.

3)Customize the Flask application according to your needs by modifying the code.

4)Run the Flask application using the provided instructions.

5)Access the website from any device connected to your local network and enjoy browsing through random memes from Reddit.

About

This repository hosts a Flask-based web server designed to run on a Raspberry Pi. The server's primary functionality revolves around fetching memes from Reddit and storing them in a database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published