{"id":18513552,"url":"https://github.com/marko19907/oledshift","last_synced_at":"2025-04-09T06:33:37.664Z","repository":{"id":189516832,"uuid":"648351591","full_name":"Marko19907/OLEDShift","owner":"Marko19907","description":"A small system tray utility that moves around the windows on the screen to prevent burn-in","archived":false,"fork":false,"pushed_at":"2024-12-28T15:31:21.000Z","size":391,"stargazers_count":24,"open_issues_count":10,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-24T00:23:24.524Z","etag":null,"topics":["nwg","oled","rust","system-tray","win32-api","windows"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Marko19907.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-01T19:16:08.000Z","updated_at":"2025-02-12T05:53:59.000Z","dependencies_parsed_at":"2023-12-27T14:26:39.067Z","dependency_job_id":"e34106d2-1090-4cdc-a384-50a024267dbd","html_url":"https://github.com/Marko19907/OLEDShift","commit_stats":null,"previous_names":["marko19907/oledshift"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marko19907%2FOLEDShift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marko19907%2FOLEDShift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marko19907%2FOLEDShift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marko19907%2FOLEDShift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Marko19907","download_url":"https://codeload.github.com/Marko19907/OLEDShift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247993289,"owners_count":21030041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nwg","oled","rust","system-tray","win32-api","windows"],"created_at":"2024-11-06T15:39:13.761Z","updated_at":"2025-04-09T06:33:32.655Z","avatar_url":"https://github.com/Marko19907.png","language":"Rust","readme":"# OLEDShift\n\n[![Rust Cargo build](https://github.com/Marko19907/OLEDShift/actions/workflows/rust.yml/badge.svg)](https://github.com/Marko19907/OLEDShift/actions/workflows/rust.yml)\n\u003ca title=\"Text\" href=\"https://github.com/Marko19907/OLEDShift/releases/latest\"\u003e\u003cimg alt=\"GitHub all releases\" src=\"https://img.shields.io/github/downloads/Marko19907/OLEDShift/total?label=GitHub%20downloads\"\u003e\u003c/a\u003e\n\nA small system tray utility that moves around the windows on your screen.\nIt's useful for OLED screens, where you want to move around the windows often to prevent burn-in and extend the lifespan of the display.\n\nOne of the main ideas behind this program is to be as minimal as possible and to use as little resources as possible so that it can run in the background with minimal impact on the system.\nIt uses less than **2MB** of RAM on my system, launch time is nearly instant.\n\nThe [Win32 API](https://docs.microsoft.com/en-us/windows/win32/apiindex/windows-api-list) is used to move the windows\nand [Native Windows GUI (NWG)](https://github.com/gabdube/native-windows-gui) is used for the GUI as a Rust wrapper around the GUI part of the Win32 API.\n\n## Usage\n\n### GitHub Releases [Recommended]\n\nYou can download the latest release from [GitHub Releases](https://github.com/Marko19907/OLEDShift/releases). \u003cbr\u003e\nThis is the preferred method.\n\n### GitHub Actions\n\nThe program is built automatically on every push and the executables are uploaded as artifacts, these builds are not guaranteed to be stable or functional, they expire after 90 days, and you might need to be logged in to GitHub to download them.\n\nIf you're struggling to find the artifacts here on GitHub, you can download the latest build of the main branch from nightly.link for x86_64 [here](https://nightly.link/Marko19907/OLEDShift/workflows/rust/main/windows-x64-binaries.zip) \nand for ARM64 [here](https://nightly.link/Marko19907/OLEDShift/workflows/rust/main/windows-arm64-binaries.zip).\n\nOne can also fork the repository and run the workflow manually to build the program. None of these options require you to have anything installed on your machine.\n\n### Building from source locally\n\nYou can build the program from source by running the following command on a Windows machine:\n\n```shell\ncargo build --release --target x86_64-pc-windows-msvc\n```\n\nor for ARM64:\n\n```shell\ncargo build --release --target aarch64-pc-windows-msvc\n```\n\nIf everything goes well, the executable will be located in the `target/release` directory.\n\n\n## Prerequisites\n\n- Rust 1.7.0 or later\n- Windows 11 SDK\n- MSVC toolchain\n\nFollow the [Rust installation guide](https://rust-lang.github.io/rustup/installation/windows-msvc.html) to install the prerequisites.\n\n\n## Known issues\n\n* [The dialog doesn't have an icon](https://github.com/Marko19907/OLEDShift/issues/3)\n* [The dialog also doesn't allow keyboard input](https://github.com/Marko19907/OLEDShift/issues/4)\n* [The ARM64 build was not tested on an actual WOA machine, but it should work](https://github.com/Marko19907/OLEDShift/issues/5)\n\n## Limitations\n\n* Only works on Windows\n* [Animations are not supported, windows are moved instantly (unsure if this is even possible)](https://github.com/Marko19907/OLEDShift/issues/8)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarko19907%2Foledshift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarko19907%2Foledshift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarko19907%2Foledshift/lists"}