0894.html 4.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Run miniPaint - Browser Based Image Editor - on Windows</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Install Guide,Web Based,Web Based Tools,Install MiniPaint On Windows,NodeJS,MiniPaint,NodeJS Based Photo Editor,Open Source,Photoshop Alternative,Self-Hosted,Web Based Image Editor,Web Based Photo Editor,Web Based Photoshop Alternative,Windows,Microsoft Windows,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Run miniPaint - Browser Based Image Editor - on Windows">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="12/30/2023 02:39:56 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Run miniPaint - Browser Based Image Editor - on Windows</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is miniPaint?</h2>
  26. <p><em>[miniPaint is an] online image editor lets you create, edit images using HTML5 technologies. No need to buy, download, install or have obsolete flash. No ads. Key features: layers, filters, HTML5, open source, Photoshop alternative.<br />
  27. <br />
  28. miniPaint operates directly in the browser. You can create images, paste from the clipboard (ctrl+v) or upload from the computer (using menu or drag &amp; drop). Nothing will be sent to any server. Everything stays in your browser.</em> -<a href="https://github.com/viliusle/miniPaint" target="_blank">https://github.com/viliusle/miniPaint</a></p>
  29. <h2>Installing miniPaint</h2>
  30. <ol>
  31. <li>Log into the Windows device</li>
  32. <li>Download the latest miniPaint release <a href="https://github.com/viliusle/miniPaint/releases/latest" target="_blank">Download</a></li>
  33. <li>Download NodeJS <a href="https://nodejs.org/en/download/current/" target="_blank">Download</a></li>
  34. <li>Install NodeJS, accepting all defaults</li>
  35. <li>Extract the downloaded miniPaint files</li>
  36. <li>Rename the extracted folder miniPaint</li>
  37. <li>Cut the miniPaint folder to a location it can safely run from, C:\Program Files\miniPaint in this example</li>
  38. <li>Hold the SHIFT key and right click in the white space &gt; Open PowerShell windows here...</li>
  39. <li>Run the following commands in the PowerShell window
  40. <div class="codeBlock PS"># install dependencies<br />
  41. npm install<br />
  42. # build minipaint<br />
  43. npm run build<br />
  44. # run minipaint<br />
  45. npm run server</div>
  46. </li>
  47. <li>Open a web browser and navigate to http://DNSorIP:8080</li>
  48. <li>Welcome to miniPaint</li>
  49. </ol>
  50. <h2>Run miniPaint on System Startup (Optional, but recommended)</h2>
  51. <ol>
  52. <li>Press CTRL + C to kill the running miniPaint process</li>
  53. <li>Open a text editor and paste the following
  54. <p>:: Start miniPaint server<br />
  55. cd /D &quot;%~dp0&quot;<br />
  56. start &quot;miniPaint&quot; /b npm run server</p>
  57. </li>
  58. <li>Save the file as minipaint.bat in the miniPaint directory, C:\Program Files\miniPaint in this example</li>
  59. <li>Click on the Start Button &gt; Type task &gt; Launch Task Scheduler</li>
  60. <li>Right click the Task Scheduler Library folder in the left pane &gt; Create Basic Task...</li>
  61. <li>Set the name to miniPaint and optionally set a Description &gt; Click Next</li>
  62. <li>For the Trigger, select When the computer starts &gt; Click Next</li>
  63. <li>For the Action, select Start a program &gt; Click Next</li>
  64. <li>Complete the form fields as follows:
  65. <p>Program/script: &quot;%ProgramFiles%\miniPaint\minipaint.bat&quot;<br />
  66. Add arguments:<br />
  67. Start in:</p>
  68. </li>
  69. <li>Click Next</li>
  70. <li>Check the Open the Properties dialog checkbox &gt; Click Finish</li>
  71. <li>In the Properties dialog, click the Change User or Group... button</li>
  72. <li>Type System in the Object name field &gt; Click OK</li>
  73. <li>Check the Run with highest privileges box</li>
  74. <li>Click OK to create the scheduled task</li>
  75. <li>Right click the miniPaint task &gt; Run</li>
  76. <li>Refresh the open web browser to verify miniPaint is now running from the scheduled task</li>
  77. </ol>
  78. <p>Source: <a href="https://github.com/viliusle/miniPaint/wiki/Build-instructions" target="_blank">https://github.com/viliusle/miniPaint/wiki/Build-instructions</a></p> </div>
  79. </div>
  80. </body>
  81. </html>