cgm-remote-monitor
Avalonia
cgm-remote-monitor | Avalonia | |
---|---|---|
10 | 255 | |
2,333 | 23,927 | |
1.2% | 2.0% | |
7.2 | 9.9 | |
7 days ago | 5 days ago | |
JavaScript | C# | |
GNU Affero General Public License v3.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cgm-remote-monitor
-
Pixel can't save me..
https://xdrip.readthedocs.io/en/latest/ https://github.com/nightscout/cgm-remote-monitor https://androidaps.readthedocs.io/en/latest/index.html#
-
Are any C# coders here?
Don't waste too much time doing things from the ground up. There are already a few projects that do this sort of thing. Take a look at the nightscout project. https://github.com/nightscout/cgm-remote-monitor
-
apps that changed your life
Nightscout for monitoring blood glucose levels: https://github.com/nightscout/cgm-remote-monitor
- Nightscout – personal blood glucose monitoring as a service
-
That sucks...Anyone have any free alternatives to Heroku for Nightscout?
INSECURE_USE_HTTP: 'true' MONGO_CONNECTION: mongodb://mongo:27017/nightscout # CHANGEME below to a secret passphrase that is at least 12 characters long (this is your top secret password to get in) API_SECRET: CHANGEME # CHANGEMEs below: See https://github.com/nightscout/cgm-remote-monitor#plugins for options. To preserve my original config, I've left in my options and just removed stuff that has to be changed. Note that I'm using the Dexcom bridge. DISPLAY_UNITS: CHANGEME ENABLE: careportal boluscalc food bwp cage sage iage iob cob basal ar2 rawbg pushover bgi pump openaps bridge BRIDGE_SERVER: CHANGEME BRIDGE_USER_NAME: CHANGEME BRIDGE_PASSWORD: CHANGEME DEVICESTATUS_ADVANCED: true PUMP_FIELDS: reservoir battery clock PUMP_URGENT_BATT_P: 26 PUMP_WARN_BATT_P: 51 SHOW_FORECAST: openaps AUTH_DEFAULT_ROLES: denied
-
Heroku Ending Free Tier
Any free alternatives? Lots of diabetics like myself use the Heroku free plan to run Nightscout.
-
Heroku's Next Chapter
There are 66K thousand forks of https://github.com/nightscout/cgm-remote-monitor and I suspect the vast majority are using the free heroku version, so I would guess there are going to be quite a few unhappy diabetics!
-
Error when deploying heroku app
This error is displayed when trying to deploy this app from github - https://github.com/nightscout/cgm-remote-monitor
-
Turn your Freestyle FGM into CGM
I like to add that this becomes even more powerful in combination with nightscout. https://github.com/nightscout/cgm-remote-monitor
-
Install NightScout inside a VM
Install NightScout on VM: Ubuntu server 20.04 LTS NOTICE: If you do not have your own web page or static IP, you can user no-ip.com to register a web address. PLEASE READ THE INSTRUCTIONS WITH CARE. THERE ARE PLACES IN CONFIGURATION THAT NEED TO BE REPLACED WITH SPECIFIC VALUE. ------------------------------- ------- PREPARING ENV --------- ------------------------------- 1. Download and install mongoDB: sudo apt install mongodb 2. Install Node.js & GIT sudo apt-get install nodejs npm git 3. install nginx sudo apt-get install nginx 4. Install LetsEncrypt sudo apt-get install letsencrypt python3-certbot-nginx ------------------------------- ---- SETUP MONGO DB------------ ------------------------------- 1. enter mongodb: mongo 2. run following commands to create admin user > use admin > db.createUser( { user: "myUserAdmin", pwd: passwordPrompt(), // or cleartext password roles: [ { role: "userAdminAnyDatabase", db: "admin" }, "readWriteAnyDatabase" ] } ) > exit 3. edit mongodb config to enable authentication: sudo nano /etc/mongodb.conf 4. find the auth=true and uncomment it (delete '#'). Save the document 5. restart mongodb service: sudo systemctl restart mongodb ------------------------------- ---- SETUP NIGHTSCOUT --------- ------------------------------- 1. Go to home folder and clone NightScout repository: git clone https://github.com/nightscout/cgm-remote-monitor.git 2. Enter that directory and create a new file. that file will be used as a startup script: cd cgm-remote-monitor vi start.sh 3. Put the following: #!/usr/bin/bash # environment variables export DISPLAY_UNITS="mg/dl" export MONGO_CONNECTION="mongodb://username:password@localhost:27017/Nightscout?authSource=admin" export BASE_URL="https://YOUR.WEBPAGE.URL" export PORT=1234 export API_SECRET="PUT SOME PASSWORD HERE" export PUMP_FIELDS="reservoir battery status" export DEVICESTATUS_ADVANCED=true export ENABLE="careportal iob cob openaps pump bwg rawbg basal" export TIME_FORMAT=24 # start server node server.js 4. Save file. 5. make file executable: chmod a+x start.sh 6. check if it's working: sudo ./start.sh 7. if everything is ok, let's create a service. Create a new file: sudo vi /etc/systemd/system/nightscout.service 8. Paste the following: [Unit] Description=Nightscout Service After=network.target [Service] Type=simple WorkingDirectory=/your/nightscout/path/cgm-remote-monitor ExecStart=/your/nightscout/path/cgm-remote-monitor/start.sh [Install] WantedBy=multi-user.target 9. Save file and reload daemon: sudo systemctl daemon-reload 10. Start the service and enable it sudo systemctl enable nightscout.service sudo systemctl start nightscout.service ------------------------------- ------- SETUP NGINX ----------- ------------------------------- NGINX will be used as a reverse proxy. 1. stop the nginx service: sudo systemctl stop nginx 2. open /etc/nginx/sites-enabled/default file, delete everything in it and paste the following: sudo vi /etc/nginx/sites-enabled/default server { listen 80; server_name YOUR_WEB_ADDRESS_LIKE_cgm.ddns.net; location / { proxy_pass http://127.0.0.1:1234; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } } 3. save file and start nginx: sudo systemctl start nginx 4. open the following ports on your router: 80 443 ------------------------------- ----- SETUP CERTIFICATES ------ ------------------------------- 1. run certbot to install certificates on your nginx sudo certbot --nginx -d YOUR_WEB_ADDRESS_LIKE_cgm.ddns.net 2. Enter you email address, Agree to Terms and It will ask you if you want to redirect all traffic from HTTP to HTTPS. Select yes (2). This automatically makes some changes to our NGINX default configuration. you can check new configuration by running: cat /etc/nginx/sites-enabled/default 3. it will also automatically install renewal of certificates. ------------------------- --- setup XDRIP------- ------------------------- In your xDrip+ go to Settings --> Cloud Upload-> NightScout Rest API Set following URL: https://API_SECRET_CODE@YOUR_WEB_PAGE/api/v1 enable synchronization. AND THAT'S IT.
Avalonia
-
The search for easier safe systems programming
WPF is not the best example of open source, as some components are still closed source. Though it only runs on Windows, a closed source operating system, so perhaps that is not so important.
https://github.com/dotnet/wpf/issues/2554
That said, there are cross platform, open source .NET UI frameworks out there, including one that is inspired by WPF:
https://avaloniaui.net/
-
Industrial Controller? Windows or Linux?
You might also want to look at AvaloniaUI[0] for a cross platform .NET GUI library. It is similar to WPF but much nicer to work with.
[0] https://github.com/AvaloniaUI/Avalonia
- Avalonia – Farewell to the .NET Foundation
-
AvaloniaUI: Create Multi-Platform Apps with .NET
Production user here. There's no money gotchas. They're above reproach. In fact, I've received considerable free support from their devs on GitHub Issues [1].
The Avalonia business model is based on selling XPF, which runs WPF (Windows-only) apps on other platforms. That's very interesting to big corps with existing codebases.
See my comment [2]
[1] https://github.com/AvaloniaUI/Avalonia/issues
[2] https://news.ycombinator.com/item?id=39246988#39249128
-
.NET on Linux: What a Contrast
Yes, but the portable GUI frameworks by Microsoft themselves are generally not very good, and they tend to be abandoned after a couple of years.
Avalonia is developed outside of the Microsoft corporate madness and seems to be slowly becoming the defacto cross-platform framework because it is expected to last a bit longer than a manager's attention span: https://avaloniaui.net/
- Too many Mac apps are being built with Electron
-
Ask HN: Do you have a problem you'd pay to have taken away?
Not my comment, but relevant here "The problem with compiling Skia to WASM is you'll lose any benefits of hardware graphics acceleration on the device."
(From https://github.com/AvaloniaUI/Avalonia/discussions/6831#disc... )
- Dezvoltare aplicatie desktop
- Ask HN: How to create web, mobile, and desktop apps from a single code base?
-
.NET 8 – .NET Blog
It's a bit of a hit and miss as of today. CLI, back-end and natively compiled libraries (think dll/so/dylib or even .lib/.a - you can statically link NAOT binaries into other "unmanaged" code) work best, GUI - requires more work.
Avalonia[0] and MAUI[1] have known working templates with it, but YMMV.
[0] https://github.com/lixinyang123/AvaloniaAOT / https://github.com/AvaloniaUI/Avalonia/ / honorable mention https://github.com/VincentH-Net/CSharpForMarkup
[1] https://github.com/dotnet/maui (try out with just true in csproj - it is known to work e.g. on iOS)
What are some alternatives?
roadmap - This is the public roadmap for Salesforce Heroku services.
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
flyctl - Command line tools for fly.io services
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
MonitoRSS-Clone - Repo to deploy the news-delivering bot MonitoRSS (formerly known as Discord.RSS)
WPF - WPF is a .NET Core UI framework for building Windows desktop applications.
Dokku - A docker-powered PaaS that helps you build and manage the lifecycle of applications
Eto.Forms - Cross platform GUI framework for desktop and mobile applications in .NET
chisel - A fast TCP/UDP tunnel over HTTP
MahApps.Metro - A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
create-t3-app - The best way to start a full-stack, typesafe Next.js app
Gtk# - Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono