Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiagomvas/dotsights
https://github.com/thiagomvas/dotsights
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thiagomvas/dotsights
- Owner: thiagomvas
- Created: 2024-04-20T17:42:19.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-07-26T00:28:37.000Z (5 months ago)
- Last Synced: 2024-07-26T01:59:58.608Z (5 months ago)
- Language: C#
- Size: 288 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# DotSights
A screen usage tracking tool for Windows.> [!IMPORTANT]
> DotSights saves the data in a local file on the user's computer. The data is not sent to any server or shared with anyone. The data is only used for the user's own reference. **The developer is not responsible for any privacy issues** that may arise from the use of this tool or any sharing, intentional or not, of the data file.
>
> The user is responsible for the data file and its contents. Do not share the data file with anyone unless you are sure that you want to share the data with them.## How is my data handled
As said previously, **all tracked data is saved locally**. Every second, the tracker checks which window is currently open using built in windows functions through ``user32.dll`` and saves it to the data dictionary.After a specific interval set by the config file, the tracker [saves the data locally to a file](https://github.com/thiagomvas/DotSights/blob/master/DotSights.Tracker/Worker.cs#L74) after serializing it to json.
When running the tracker again, it'll [look for the data file in AppData/DotSights](https://github.com/thiagomvas/DotSights/blob/master/DotSights.Tracker/Worker.cs#L28), hold it in cache and keep running, with the cycle repeating.
All data handling is made through the main [DotSights](https://github.com/thiagomvas/DotSights/blob/master/DotSights.Core/DotSights.cs) class. The only project that changes data is ``DotSights.Tracker``, all the other ones only change settings or read said data.
## Instalation
### Tracker
To get the tracker, head to the [Releases](https://github.com/thiagomvas/DotSights/releases) page, find the latest release and download the ``DotSights.Tracker.Exe``.For accurate tracking, it should run on start up. To do this, open your start up folder and add either the exe itself, or a shortcut to it. Make sure the exe is somewhere that won't be deleted.
## CLI
To install the dashboard, you need the .NET SDKAfter it is installed, run ``dotnet tool install --global DotSights.CLI`` to install the tool globally. Use ``DotSights -h`` on the terminal for more help.
### Dashboard
**TO RUN THE DASHBOARD, YOU NEED .NET 8 INSTALLED**Run the following commands:
```
git clone https://github.com/thiagomvas/DotSights.git
cd DotSights/DotSights.Dashboard
dotnet build
```
Right-click ``DotSights.Dashboard.exe``, create a shortcut and move it wherever you'd like.For some reason, Avalonia does not like to be published, so that's the temporary way of building the Dashboard.