What are you doing?#
Through the website, you can let others know what you are doing.
The data can include dimensions such as computer, browser, and mobile.
Platform | Function | Auto/Manual | Trigger Method |
---|---|---|---|
Computer | Recent activity programs, program title, icon, update time | Auto | Fixed time interval (default 10 minutes) |
Browser | Website information, website title, no-parameter URL, update time | Manual | Click upload button |
Android | Front-end application name, WiFi information, battery level, update time | Auto | Update when switching applications |
Server#
cd server
pip install -r requirement.txt
Fill in SECRET_KEY = "your key" in config.toml.
Optional data storage methods
(Default) Redis saves data, supports multi-process.
JSON saves data, not safe for multi-process, enable by setting without_redis = true in the configuration file.
When using uwsgi, be sure to set processes=1.
Redis configuration defaults to localhost. Data_limit_default is the default limit on the number of entries used only during initialization.
To deploy on Linux using uwsgi pip install uwsgi
, app.ini has related configurations, start with uwsgi --ini app.ini
.
Reporting End#
The reporting end is optional; with a corresponding reporting end, there will be corresponding data display (all in the report folder).
PC Reporting End#
Note
You can now download the environment-free win-64 zip version
https://github.com/2412322029/seeme/releases/latest
👍 Comes with application time statistics feature
Or use the Python script
report.py is a reporting command line program that periodically sends what you are currently playing to the server, -h displays help
For example: python(w) report.py run -u server address -k 'your key'
report_gui.py is the GUI wrapper for the above, with additional features.
After packaging, it starts itself without command line parameters; otherwise, it starts report.py without a terminal window, running in the background.
> report -h
usage: report.py [-h] {log,status,kill,pause,resume,run,getlimit,getinfo,delinfo,setlimit} ...
Scheduled reporting program, can get REPORT_KEY and REPORT_URL from environment variables.
positional arguments:
{log,status,kill,pause,resume,run,getlimit,getinfo,delinfo,setlimit}
Available commands
log View the latest logs
status Query process status
kill Kill the process
pause Pause the process
resume Resume the process
run Run the scheduled reporting program (use pythonw to run in the background)
getlimit Get server limit value
getinfo Get server data
delinfo Delete server data
setlimit Set the maximum number of server data
options:
-h, --help show this help message and exit
Browser End#
Use the Tampermonkey script (install the Tampermonkey extension, download from the Google Extension Store).
Copy the contents of Auto Report.js
into a new custom script.
After installation, the first pop-up will prompt for the key and API; check/reset information in the Tampermonkey menu.
After enabling, there will be an upload button in the upper right corner; edit and confirm (be careful with sensitive information in the URL, ? parameters are removed by default) and upload, manage excluded websites in Tampermonkey.
Android End#
Use MacroDroid, import Auto Report.macro
into the software, modify the API-KEY value in Action > HTTP Request > Request Header Parameters to your key.
TODO#
- Display Steam online status (completed)
- report command line -> GUI (partially completed, after packaging, background report part consumes more memory)
- Application time statistics (basic functionality completed)
- Scheduled upload statistics database (not completed)
- Server application time statistics interface (not completed)
- Front-end table statistics (not completed)
Front-end source code https://github.com/2412322029/seeme-frontend
Packaging Guide#
pip install nuitka
Enter the report directory, run build.py
Use release.py to publish