This is a custom server that behaves like a Dexcom Share server, but will fetch its glucose values from nightscout
If you're a nightscout user, you may have heared of the "Dexcom Bridge". This server does the reverse.
By using this custom shareserver, you can use any CGM together with Loop, as long as your cgm data is uploaded to nightscout. A consequence is that you don't have to store your glucose data on Dexcom's servers
Please verify that the integration against nightscout is working, click this button
go to https://github.com/dabear/dexcom-share-client-swift/ and fork it into your own repo
Go to your forked version at https://github.com/YOUR_GITHUB_USERNAME_HERE/dexcom-share-client/blob/master/ShareClient/ and edit the file ShareClient.swift. Find the dexcom share variable for the US servers and change it to match this customserver instead, like this:
private let dexcomServerUS = "https://nssd.azurewebsites.net"
Locate your Carthage dependencies file at Loop/Cartfile and change the following to match your new repo
github "mddub/dexcom-share-client-swift" ~> 0.2.1
change it to:
github "YOUR_GITHUB_USERNAME_HERE/dexcom-share-client-swift" "master"
It should now look similar to this:
On your mac, open a terminal and navigate to the folder where you have your loop project. You should now issue an update to the dexcom-share-client-swift-module in your terminal. Example:
cd /Users/bjorninge/Projects/Loop;
carthage update dexcom-share-client-swift
Recompile the Loop app, and you're all set to go Your customserver should now be build and running, trit it out! It will accept any combination of username and password.