ccil-kbw / robot Goto Github PK
View Code? Open in Web Editor NEWmdroid: Masjid's droid
Home Page: https://ccil-kbw.github.io/
License: BSD 3-Clause "New" or "Revised" License
mdroid: Masjid's droid
Home Page: https://ccil-kbw.github.io/
License: BSD 3-Clause "New" or "Revised" License
Request as curl of the ptz camera:
curl 'http://192.168.1.253/cgi-bin/ptzctrl.cgi?ptzcmd&poscall&11' \
-H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' \
-H 'Cookie: CGISESSION=zeFdsRYOsksdEcWymqvAmVMJeQQqURuj' \
--compressed \
--insecure
Here we want to detect the Frame and set it properly based on the Event:
11: Chair under Imam for Khutbah Translations
12: Zoomed Out Imam + Iqama
13: Imam Khutbah
14: Zoomed Out everything
E.g: Khutbah Translation Time: 11, Khutbah Time: 13
Feature: Upload newly recorded videos (private visibility, backlog playlist)
At the same time why not named it Masjid's Robot (or MasjidsRobot
as slug)
Refactoring points:
Iqama is cached when we run the Software. Needs to update every few hours the new Iqama time (Maybe every hour)
https://www.mkdocs.org/
https://squidfunk.github.io/mkdocs-material/
Same page can both include technical and user documentation, split in 2 Tabs and subsections
Can simply be deployed to docs.ccil-kbw.com
or something else
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key></key>
<string></string>
</dict>
<key>Label</key>
<string>org.masjidsrobot.darsrec</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/darsrec</string>
</array>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>/tmp/darsrec.out</string>
<key>StandardErrorPath</key>
<string>/tmp/darsrec.err</string>
</dict>
</plist>
Currently hardcoded the above in ~/Library/LaunchAgents/org.masjidsrobot.darsrec.plist
Should find a better way with an install.sh script to do this automatically
This ticket includes signing the binary with Apple's Developpers - not sure about the process for non-mac users, got to investigate inchaAllah
Create different Iqama Sources with a simple configuration from the User.
At the moment we use the API from https://iqama.ccil-kbw.com but other solutions can greatly simplify Administrative Tasks.
At the moment I am thinking about a Public Google Sheets that can simply be modified manually by the Administration, the Sheet would contain a page for each year (2023, 2024, 2025, etc) and reading the Iqama would simply use the URL for the Google Sheets.
When the Administration thinks that they need to change the Iqama they simply login to their Google account and modify the Sheet directly from there. All Iqama Apps can use that Sheet as Source of Truth and is not controlled by any Developer but solely by the Masjid's Administration.
We need to sign the binary shipped for MacOS else it's flagged as insecure on those devices
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.