https://github.com/oluceps/telegramonlinekeeper
Automatic keeping telegram user online
https://github.com/oluceps/telegramonlinekeeper
Last synced: about 1 year ago
JSON representation
Automatic keeping telegram user online
- Host: GitHub
- URL: https://github.com/oluceps/telegramonlinekeeper
- Owner: oluceps
- License: mit
- Created: 2024-02-27T06:52:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-18T19:39:18.000Z (about 1 year ago)
- Last Synced: 2025-03-18T20:35:12.626Z (about 1 year ago)
- Language: Rust
- Size: 35.2 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram User Online Keeper
Timeline Forensics Preventation
## usage
Set `$API_ID` & `$API_HASH` then `cargo run` in console.
If using NixOS, import the `nixosModule` and set the `sessionFile` `environmentFile` option:
```nix
services.online-keeper.instances = [
{
name = "example";
sessionFile = "/home/user/user.session";
environmentFile = "/home/user/.env";
}
];
```
`environmentFile` MUST contain `$API_ID` & `$API_HASH`. [Details about EnvironmentFile](https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#EnvironmentFile=)