winget install --id=pavlobu.deskreen -e
Deskreen turns any device with a web browser into a secondary screen for your computer
If you don't live in a cave and aware of what is going on in the world π , Russian π·πΊ government had started global armed invasion on the territory of Ukraine on the 24th of February 2022. This is for real, this is a WAR. Russian army is killing Ukrainian soldiers, Ukrainian civil citizens and Ukrainian children RIGHT NOW because Russian government gave them an order to do so. You can search online for thousands of videos of what is going on in Ukraine.
Ukrainians fight brave for their land and will never give up. But you must understand that our country is fighting here not for our land only, but for the safety of the whole world. βοΈβοΈβοΈ If Ukraine fails in this war with Russian army and Russian government, the security of all countries in the world π will be under the threat! Russian government and it's vicious allies and governments from other countries will be moving their armies to YOUR land, sooner or later βοΈβοΈβ
You must understand that now Ukraine has more people here willing to fight than weapons, military supplies and other inventory for them.
If you CAN and WANT to support Ukraine πΊπ¦ and Ukrainian army, here is a tweet with instructions from OFFICIAL β account of Ukraine πΊπ¦
Deskreen is an electron.js
based application that uses WebRTC
to make a live stream of your
desktop to a web browser on any device.
It is built on top of Electron React Boilerplate
For better security mechanism, end-to-end encryption is implemented, which is inspired by
darkwire.io. The difference is that it is rewritten
in Typescript
and transformed to use node-forge
instead of window.crypto.subtle
.
Why this was made? Because a client served with http
without SSL, which makes window.crypto.subtle
unavailable.
Want to add a new language support for Deskreen? Or you found a typo in existing translations of Deskreen App or website? Here are step by step guides:
Read and Respect our Contributor Covenant Code of Conduct When Writing in our Discussion Threads.
Some progress and updates on Deskreen can be found here.
Display Dummy Plugs are good temporary solution, but it is not that good for everyone. If you are a seasoned Windows or Linux or MacOS hacker with a knowledge of low level tweaks and tricks, you can help us to make Deskreen better! On a long run Deskreen seeks for getting rid of Display Dummy Plugs, because most people don't like using them. Sometimes they can't use them because all available display ports are already taken. So we need to have native drivers for Win / Mac / Linux that will help to enable virtual display without Dummy Display Plugs. There are already working commercial solutions out there with their own drivers which they don't disclose, but this task is doable with a help of entire community. The goal of Deskreen is to enable community power and knowledge to overcome these technical challenges and make it a go-to second screen solution that everyone will benefit from!
We plan on making virtual display driver support for each of three main operating systems and place all OS related codes in ./drivers
subdirectory of this project.
You can find brief requirements for driver API in ./drivers/README.md
.
Share your valuable knowledge on how to create virtual desktop without a Dummy Display Plug in this discussion thread.
Thank you in advance!
Get the .dmg file from Releases
Or get from Homebrew: brew install --cask deskreen
Debian and Ubuntu based distributions (deb)
Enterprise Linux based distributions (rpm)
Arch Linux AUR Package
AppImage for other distributions
yarn test-all
locally to make sure you don't have any errors, before submitting your PRYou will need to have node
npm
and yarn
installed
globally on your machine.
cd app/client; yarn install --frozen-lockfile ; cd ../../ ; yarn install --frozen-lockfile
yarn dev
-- run in dev mode with live updatesyarn start
-- run in production mode to test, without packaging
yarn package
-- to package an app and make executables available in release
folder
package.json
yarn test
-- run all unit tests
yarn build-ux && yarn test-ux
-- run User Experience tests (no tests for app/client
yet)
yarn test-watch-not-silent
-- run tests in watch mode with console logs only for host app, excluding app/client
yarn test -- -u
-- update snapshots
app/client
yarn test
-- run client tests in watch mode
test:nowatch
-- run client tests a single time
yarn test -- -u
-- update snapshots
yarn coverage
-- when run from project root, generates a coverage report for host
and app/client
yarn test
?in root ./
folder of project run this:
yarn jest --updateSnapshot
in Deskreen Viewer ./app/client
folder of project run this:
cd app/client
SKIP_PREFLIGHT_CHECK=true yarn test:nowatch -- -u
yarn test-all
locally to make sure you don't have any errors, before submitting your PRYou need to install Sonar Qube community edition for your machine. And sonar-scanner. Then add sonar scanner to your PATH.
You need to run sonar-scanner separately on root directory
and on app/client
directory.
Luckily for you sonar scanner is automatically triggered after husky
checks.
So you only need to install and configure SonarCube locally and
create two separate projects in SonarCube panel.
First project for host app, and second project for client viewer app.
TODO: add how to get started with local SonarCube for Deskreen in details.
v
ex. v1.0.0
git push <version-tagname>
set version
to <version-tagname>
! without v
in the beginning! (ex. 1.0.0
-- not start with v
) in these three files:
package.json
-- in version
key ex. 1.0.0
app/package.json
-- in version
key ex. 1.0.0
app/package-lock.json
-- in version
key ex. 1.0.0
app/client/package.json
-- in version
key ex. 1.0.0
You can submit your pull request with fix on Deskreen website locales repo
AGPL-3.0 License Β© Pavlo (Paul) Buidenkov
Deskreen Logo PNG Image -- Β© Nadiia Plaunova
Apache 2.0 Β© blueprintjs
MIT Β© Electron React Boilerplate
simple-peer MIT. Copyright (c) Feross Aboukhadijeh
GNU General Public License (GPL) Version 2 node-forge
ISC Copyright (c) 2019, Mapbox pixelmatch
π Special thanks to Electron React Boilerplate community for providing a good kickstart template boilerplate code for electron project, that really helped a lot to get started with development of Deskreen.
π Thanks to Github workflows for enabling a robust CI pipeline for the needs of 'forging' π οΈ Deskreen.
π Many thanks to all π open source community members and maintainers of libraries used in this project.