Giter Site home page Giter Site logo

0xzer0x / athany Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 2.0 54.08 MB

A lightweight python prayer times/athan application for windows and linux that operates offline

License: MIT License

Python 100.00%
adhan athan islam prayer python prayer-times prayertimes pysimplegui python-ui aladhan azan muslim muslim-prayer-times

athany's Introduction


Logo

Athany

a python application to remind you of your purpose

CodeFactor
View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Athany Screen Shot

قال تعالى: {وَمَا خَلَقْتُ ٱلْجِنَّ وَٱلْإِنسَ إِلَّا لِيَعْبُدُونِ (٥٦) مَآ أُرِيدُ مِنْهُم مِّن رِّزْقٍۢ وَمَآ أُرِيدُ أَن يُطْعِمُونِ (٥٧) إِنَّ ٱللَّهَ هُوَ ٱلرَّزَّاقُ ذُو ٱلْقُوَّةِ ٱلْمَتِينُ (٥٨)} [الذاريات]

Athany is a lightweight python program for windows and linux that calculates the times for the five mandatory muslim prayers, tells you the time remaining until the next prayer, and plays the athan sound when the prayer time comes.

(back to top)

Built With

  • python
  • pysimplegui

(back to top)

Getting Started

Install the latest stable version using the windows setup provided in the release, If you want the latest code version up and running follow these simple steps.

Prerequisites

  • Python >= 3.9

  • Fonts used in application.

  • python-tk Tkinter package (Linux users only)

  • libappindicator-gtk3 & appindicator shell extension if you're using Gnome (Linux users only)

Installation

  1. Install dependencies (Linux users only)

    sudo apt-get install -y python3-tk python3-dev libappindicator3-1 libappindicator3-dev
  2. Clone the repo

    git clone https://github.com/0xzer0x/athany.git
  3. Install python packages

    cd athany
    pip install -r requirements.txt
  4. Run the application

    python main.py

(back to top)

Building from source

Replace the single-quotes with double-quotes if you're using windows and : with ;

  • After the installation steps, execute the following commands. You will find the built application folder in the dist directory
    pip install pyinstaller
    pyinstaller --noconfirm --onedir --windowed --icon 'images/athany_icon.ico' --add-data 'src/Data:src/Data' --name 'athany' main.py

(back to top)

Usage

choose-location

On first launch, the choose-location window will prompt you for a valid location. you can either type your location manually or use the automatically fetched location (note: your location is fetched using your public IP, so it may not be totally accurate)

main-window

the settings window can be accessed through the bottom left button

settings-window-general-tab

the general settings tab has the main app settings (mute athan, saving location, theme, change language, change/download athan sound)

settings-window-custom-athan-tab

the custom athan tab allows you to choose a local audio file (.wav, .mp3) to play instead of the offered athans

settings-window-offset-tab

the offset tab allows you to adjust prayer times by adding/subtracting minutes from the default calculated time

advanced-settings-tab

the advanced settings tab allows you to use a different calculation method or set the calculation parameters manually. It also shows you the default method used in your country

check out other screenshots

(back to top)

Roadmap

  • Add advanced settings tab
    • change calculation method
    • use custom fajr & isha angles
  • Add translations
  • make an Android version using kivy library

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Fursan team - [email protected]

Project Link: https://github.com/0xzer0x/athany

(back to top)

Acknowledgments

(back to top)

athany's People

Contributors

0xzer0x avatar ahmed-tasaly avatar nightsparky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

athany's Issues

Voicemeter audio clipping

Hi I use voicemeeter as my audio interface and when i set it to the default sound device i get clipping in the audio. I tried changing the default audio device to speakers and it works. Only when the default device is my voicemeeter device i get crackles. I really need to fix this and would appreciate the help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.