Skip to content

Adam-Inference/streamlit_app_deploying

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Prayer App Tracker πŸš€

A beginner-friendly Islamic prayer log built by a passionate first-time developer

Welcome to my very first web app! πŸŽ‰ This tool was created to help users keep track of their daily Islamic prayers, view accurate prayer times based on their location, and privately reflect on their prayer journey. Built using Streamlit, SQLite, and Python β€” so yes, it's lightweight, personal, and very much a labor of learning and love.

Note: Since this is my first published project, it may have a few quirks here and there. I'm learning as I go β€” so if you spot something odd, feel free to drop feedback. It’s all part of the journey!

✨ Features

  • Secure Login & Registration
    Basic user authentication with a private prayer log for each account
  • Prayer Tracking
    Mark each of the five daily prayers as completed β€” for any date
  • Live Prayer Times
    Automatically fetches prayer times based on your IP-based location
  • Calendar View
    Go back or forward in time to update or view your prayer history
  • Private Data
    Each user’s prayer log is saved in a separate database file just for them

πŸš€ Getting Started

Prerequisites

  • Python 3.8+
  • pip

Installation

git clone https://github.com/yourusername/prayer-app-tracker.git cd prayer-app-tracker pip install -r requirements.txt streamlit run main.py

🧭 How to Use It

  1. Register an Account
    Go to the "Register" tab, enter a username and password, and hit Register.
  2. Login
    Use the same credentials to log in.
  3. Track Your Prayers
    Select a date and tick off prayers as you complete them β€” it saves automatically.
  4. See Local Prayer Times
    They’ll show up right on the homepage.

πŸ—‚ Project Structure

prayer-app-tracker/ β”‚ β”œβ”€β”€ main.py # Streamlit app entry point β”œβ”€β”€ database.py # Handles prayer logs β”œβ”€β”€ prayer_times_calculator.py # Prayer times logic β”œβ”€β”€ users.txt # Demo-only user storage β”œβ”€β”€ prayers_.db # User-specific SQLite DBs β”œβ”€β”€ requirements.txt # Dependencies └── README.md # This file!

πŸ” Security Notes

  • Passwords are hashed, but this is still a simple demo β€” don’t use sensitive credentials.
  • Each user’s data stays separate. Please don’t share usernames or passwords.

βš™οΈ Customizing the App

  • You can tweak how prayer times are calculated by editing the get() function in main.py.
  • To level up authentication, consider OAuth or a library like Authlib.

πŸͺͺ License

This project is licensed under the MIT License.

πŸ’¬ A Personal Note

I built this app as both a faith-based personal tracker and a way to dive into Web Applications development. It’s not perfect, but it’s meaningful β€” and that makes it worth sharing. 😊

πŸ“« Contact

If you have feedback, ideas, or words of encouragement, feel free to open an issue on GitHub.

About

streamlit websites repo to deploy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages