You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <!DOCTYPE html>
  2. <html>
  3. <meta charset="utf-8">
  4. <head>
  5. <style>
  6. #header
  7. {
  8. background: #d86323;
  9. padding: 0.7em;
  10. text-align: left;
  11. }
  12. #header a
  13. {
  14. color: white;
  15. text-decoration: none;
  16. padding: 0.5em 1em 0.5em 1em;
  17. }
  18. #title
  19. {
  20. color: #6d2113;
  21. }
  22. img
  23. {
  24. width: 100%;
  25. }
  26. video
  27. {
  28. width: 100%;
  29. }
  30. html
  31. {
  32. font-family: sans-serif;
  33. }
  34. body
  35. {
  36. line-height: 1.5em;
  37. }
  38. body
  39. {
  40. background: #FAFAFA;
  41. }
  42. table
  43. {
  44. border-collapse: collapse;
  45. width: 100%;
  46. }
  47. table, th, td
  48. {
  49. border: 1px solid #aaa;
  50. padding: 0.5em;
  51. margin-top: 0.5em;
  52. margin-bottom: 0.5em;
  53. }
  54. code, pre
  55. {
  56. font-family: monospace, serif;
  57. font-size: 1em;
  58. color: #7f0a0c;
  59. background: #f5f5f5;
  60. white-space: pre-wrap;
  61. }
  62. .contents
  63. {
  64. background: #FFFFFF;
  65. width: 720px;
  66. padding: 1em;
  67. margin-top: 2em;
  68. margin-bottom: 2em;
  69. border: 1px solid #E0E0E0;
  70. text-align: left;
  71. color: #444;
  72. }
  73. #footer
  74. {
  75. text-align: center;
  76. }
  77. #lang
  78. {
  79. float: right;
  80. }
  81. </style>
  82. <title>
  83. Local File System Access (LFSA) for Client Side Web Apps (CSWA)
  84. </title>
  85. </head>
  86. <body>
  87. <div id="header">
  88. <strong id="title">LFSA</strong>
  89. <div id="lang">
  90. <a href="../en/index.html">EN</a>
  91. <a href="../ru/index.html">RU</a>
  92. </div>
  93. </div>
  94. <center><h1>
  95. </h1></center>
  96. <center><div class="contents">
  97. <h2 id="overview">Overview</h2>
  98. <p><strong>L</strong>ocal <strong>F</strong>ile <strong>S</strong>ystem <strong>A</strong>ccess (<strong>LFSA</strong>) is:</p>
  99. <ul>
  100. <li>a tiny web server to allow client side JS access to local file system</li>
  101. <li>a buildling block for <strong>C</strong>lient <strong>S</strong>ide <strong>W</strong>eb <strong>A</strong>pps (<strong>CSWA</strong>)</li>
  102. <li>a single Python file</li>
  103. <li>released under <a href="https://creativecommons.org/share-your-work/public-domain/cc0/">CC0</a> license (public domain)</li>
  104. </ul>
  105. <p>Client Side Web Apps run solely on your device, they are not related to cloud solutions in any way: nobody can pull the plug on you.
  106. CSWAs may use LFSA to keep data locally so that you could have complete control of your data.</p>
  107. <p><a href="http://opengamestudio.org/pskov">PSKOV</a> static site generator is the first CSWA to use LFSA.</p>
  108. <h2 id="downloadlfsa">Download LFSA</h2>
  109. <p>Download <a href="../lfsa_1.0.0.py">lfsa_1.0.0.py</a>.</p>
  110. <p>If you use Linux or macOS, you're all set.</p>
  111. <h2 id="installpythonwindowsonly">Install Python (Windows only)</h2>
  112. <video controls poster="../vid/download-install-python.poster.png">
  113. <source src="../vid/download-install-python.mp4" type ="video/mp4">
  114. <source src="../vid/download-install-python.webm" type ="video/webm">
  115. ERROR Your browser does not support HTML5 video
  116. </video>
  117. <p>Windows doesn't have Python installed by default, you have to <a href="https://www.python.org/downloads/windows/">install Python yourself</a> to be able to run LFSA.</p>
  118. <p><strong>Note</strong>: the video depicts Python 2.3.4 installation under Windows 2000, use the latest Python available for your version of Windows.</p>
  119. <h2 id="runlfsa">Run LFSA</h2>
  120. <h3 id="linuxandmacos">Linux and macOS</h3>
  121. <video controls poster="../vid/run-lfsa.macos.poster.png">
  122. <source src="../vid/run-lfsa.macos.mp4" type ="video/mp4">
  123. <source src="../vid/run-lfsa.macos.webm" type ="video/webm">
  124. ERROR Your browser does not support HTML5 video
  125. </video>
  126. <p>If you use Linux or macOS, run LFSA in terminal:</p>
  127. <pre><code>/path/to/lfsa_1.0.0.py /path/to/dir
  128. </code></pre>
  129. <h3 id="windows">Windows</h3>
  130. <video controls poster="../vid/run-lfsa.w2k.poster.png">
  131. <source src="../vid/run-lfsa.w2k.mp4" type ="video/mp4">
  132. <source src="../vid/run-lfsa.w2k.webm" type ="video/webm">
  133. ERROR Your browser does not support HTML5 video
  134. </video>
  135. <p>If you use Windows, run LFSA in <a href="https://en.wikipedia.org/wiki/Cmd.exe">CMD</a>:</p>
  136. <pre><code>C:/path/to/Python/installation/python.exe C:/path/to/lfsa_1.0.0.py C:/path/to/dir
  137. </code></pre>
  138. <h2 id="durability">Durability</h2>
  139. <p>As you noticed, LFSA can run on really old operating systems dating back to 2000. That's intentional: we care about users, so we want to cover as many users as possible.</p>
  140. </div></center>
  141. <div id="footer">
  142. The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
  143. from <a href="http://github.com/ogstudio/site-lfsa">this source code</a>.
  144. The site is hosted by <a href="https://pages.github.com">GitHub Pages</a>.
  145. </div>
  146. <script type="text/javascript">
  147. </script>
  148. </body>
  149. </html>