https://github.com/devincarr/datacap
A simple Flask server to check and update the current data cap of Internet.
https://github.com/devincarr/datacap
Last synced: 18 days ago
JSON representation
A simple Flask server to check and update the current data cap of Internet.
- Host: GitHub
- URL: https://github.com/devincarr/datacap
- Owner: DevinCarr
- License: mit
- Created: 2015-12-13T02:37:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-27T22:31:45.000Z (over 10 years ago)
- Last Synced: 2025-01-17T04:12:39.604Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# datacap
A simple Flask server that runs locally to check current data cap of Internet.
## Running
- Make sure to have Flask, Request, and Python 2.7 installed.
- Run with `./start`
- Start the datacap server with a cap amount by connecting with: `http://datacaphostname/update?cap=0`
This server will run on port `8080` locally and is configured with the normal Raspian settings.
## Updating
`host.com/update?cap=` - Updates the cap and redirects to the homepage.