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.

index.md 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Title: Index
  2. Date: 2019-05-30 00:00
  3. Category: Page
  4. Slug: index
  5. Lang: en
  6. **L**ocal **F**ile **S**ystem **A**ccess (**LFSA**) is:
  7. * a tiny web server to allow client side JS access to local file system
  8. * a buildling block for **C**lient **S**ide **W**eb **A**pps (**CSWA**)
  9. * a single Python file
  10. * released under [CC0][cc0] license (public domain)
  11. ## CSWA
  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. ## Install
  16. If you use Linux or macOS released after 2005 (yes, 2005), you only need to [download lfsa_1.0.0.py][lfsa-local].
  17. If you use Windows 2000 or newer (excluding Windows ME), you need to:
  18. * [download][python] and install Python 2.3 or newer
  19. * [download lfsa_1.0.0.py][lfsa-local]
  20. ## Run
  21. If you use Linux or macOS, run LFSA in terminal this way:
  22. ```
  23. /path/to/lfsa_1.0.0.py /path/to/dir
  24. ```
  25. Here's how it looks like on macOS Mojave:
  26. ![LFSA on macOS Mojave][lfsa-on-macos]
  27. If you use Windows, run LFSA in [CMD][cmd] this way:
  28. ```
  29. C:/path/to/Python/installation/python.exe C:/path/to/lfsa_1.0.0.py C:/path/to/dir
  30. ```
  31. Here's how it looks like on Windows 2000:
  32. ![LFSA on Windows 2000][lfsa-on-windows]
  33. ## Durability
  34. 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.
  35. [pskov]: http://opengamestudio.org/pskov
  36. [lfsa-local]: ../lfsa_1.0.0.py
  37. [python]: https://www.python.org/downloads/windows/
  38. [cmd]: https://en.wikipedia.org/wiki/Cmd.exe
  39. [lfsa-on-macos]: ../img/lfsa-on-macos.png
  40. [lfsa-on-windows]: ../img/lfsa-on-windows.png
  41. [cc0]: https://creativecommons.org/share-your-work/public-domain/cc0/