npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

prayer-timetable

v0.4.3

Published

Muslim prayer timetable app for deployment on Raspberry Pi. It is meant to be used on public displays to show your local community's prayer times. Can be used in masjids, mosques or even home. Optimised for Full HD screens. NodeJS and Express powered, usi

Downloads

53

Readme

Prayer timetable

Muslim prayer timetable app for deployment on Raspberry Pi. It is meant to be used on public displays to show your local community's prayer times. Can be used in masjids, mosques or even home. Optimised for Full HD screens. NodeJS and Express powered, using UIKit for styling, Pug for template engine, Moment.js for time manipulation and more. Please note that this is at alpha stage and built specifically for my own needs.

This software is provided as-is, with no warranty of any kind. I provide it for free and do not expect and ask for any compensation. What's more, I will help you setup your own presentation screen and even install for free, but you will cover the postal bills in case you send me your own Raspberry Pi for setup.

Instructions on full deployment coming soon, for now you're on your own. :)

Quick Start

Standalone app:

git clone https://github.com/ench0/prayer-timetable

Express module:

require("prayer-timetable")

Router file:

router.get('/timetable', function(req, res, next) {
res.render('timetable', { title: 'Timetable', settings: settings, timetabledef: timetabledef, settingsdef: settingsdef });
});

Home page: your_IP:3000

Main timetable display: your_IP:3000/timetable

Mobile view: your_IP:3000/mobile

Admin area: your_IP:3000/admin

Default username/password for admin area: admin/admin

To manually change the password, use: npm i -g htpasswd htpasswd -Bc ./config/user.pass admin

Password can be changed from the admin area as well.

Features

  • Prayer times
  • Jamaah times
  • Jamaah calculation offsets/methods
  • Admin area
  • Basic user authentication
  • Password change
  • Automatic refresh of frontend after backend/admin update
  • Git updates
  • Next prayer countdown
  • Jummuah notification
  • Refresh bar
  • Themes
  • Announcements/messages
  • Mobile view/app
  • Hijri dates
  • Hijri offset
  • Next day starts after isha
  • 2 frontend languages

How can you help

The timetable app currently contains timetables and language packs for Dublin and Rotterdam. If you like your city/language to be included, please contact me and send your own timetable. Use examples from other cities to figure out the JSON format. You are responsible for accuracy of the data.

Tools and libraries used

  • NodeJS
  • Express
  • Moment JS, Moment Timezone, Moment Hijri
  • UI Kit
  • Pug
  • Reload
  • JQuery
  • String
  • Shell JS
  • Nodemon for development
  • OpenSans fonts
  • Changa fonts
  • Freepik images for backgrounds
  • http-auth + bcrypt

Screenshots

Frontend | Admin area :-------------------------:|:-------------------------: Frontend | Admin area