選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Title: Index
  2. Date: 2019-06-26 00:00
  3. Category: Page
  4. Slug: index
  5. Lang: en
  6. ## Overview
  7. **L**ocal **F**ile **S**ystem **A**ccess (**LFSA**) is:
  8. * a tiny web server to allow client side JS access to local file system
  9. * a buildling block for **C**lient **S**ide **W**eb **A**pps (**CSWA**)
  10. * a single Python file
  11. * released under [CC0][cc0] license (public domain)
  12. 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.
  13. CSWAs may use LFSA to keep data locally so that you could have complete control of your data.
  14. [PSKOV][pskov] static site generator is the first CSWA to use LFSA.
  15. ## Download LFSA
  16. Download [lfsa_1.0.0.py][lfsa-local].
  17. If you use Linux or macOS, you're all set.
  18. ## Install Python (Windows only)
  19. <video controls poster="../vid/download-install-python.poster.png">
  20. <source src="../vid/download-install-python.mp4" type ="video/mp4">
  21. <source src="../vid/download-install-python.webm" type ="video/webm">
  22. ERROR Your browser does not support HTML5 video
  23. </video>
  24. Windows doesn't have Python installed by default, you have to [install Python yourself][python] to be able to run LFSA.
  25. **Note**: the video depicts Python 2.3.4 installation under Windows 2000, use the latest Python available for your version of Windows.
  26. ## Run LFSA
  27. ### Linux and macOS
  28. <video controls poster="../vid/run-lfsa.macos.poster.png">
  29. <source src="../vid/run-lfsa.macos.mp4" type ="video/mp4">
  30. <source src="../vid/run-lfsa.macos.webm" type ="video/webm">
  31. ERROR Your browser does not support HTML5 video
  32. </video>
  33. If you use Linux or macOS, run LFSA in terminal:
  34. ```
  35. /path/to/lfsa_1.0.0.py /path/to/dir
  36. ```
  37. ### Windows
  38. <video controls poster="../vid/run-lfsa.w2k.poster.png">
  39. <source src="../vid/run-lfsa.w2k.mp4" type ="video/mp4">
  40. <source src="../vid/run-lfsa.w2k.webm" type ="video/webm">
  41. ERROR Your browser does not support HTML5 video
  42. </video>
  43. If you use Windows, run LFSA in [CMD][cmd]:
  44. ```
  45. C:/path/to/Python/installation/python.exe C:/path/to/lfsa_1.0.0.py C:/path/to/dir
  46. ```
  47. ## Durability
  48. 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.
  49. [pskov]: http://opengamestudio.org/pskov
  50. [lfsa-local]: ../lfsa_1.0.0.py
  51. [python]: https://www.python.org/downloads/windows/
  52. [cmd]: https://en.wikipedia.org/wiki/Cmd.exe
  53. [cc0]: https://creativecommons.org/share-your-work/public-domain/cc0/