Title: Index Date: 2019-05-30 00:00 Category: Page Slug: index Lang: en ## Overview Local File System Access (LFSA) is: * a tiny web server to allow client side JS access to local file system * a buildling block for Client Side Web Apps (CSWA) * a single Python file ## CSWA 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. CSWAs use LFSA to keep data at your hard drive, so you have complete control of your data. [PSKOV][pskov] static site generator is the first CSWA to use LFSA. ## Install If you use Linux or macOS released after 2005 (yes, 2005), you only need to [download lfsa-201905.py][lfsa-local]. If you use Windows 2000 or newer (excluding Windows ME), you need to: * [download][python] and install Python 2.3 or newer * [download lfsa-201905.py][lfsa-local] ## Run If you use Linux or macOS, run LFSA in Terminal this way: ``` /path/to/lfsa-201905.py /path/to/dir ``` Here's how it looks like on macOS Mojave: ![LFSA on macOS Mojave][lfsa-on-macos] If you use Windows, run LFSA in [CMD][cmd] this way: ``` C:/path/to/Python/installation/python.exe C:/path/to/lfsa-201905.py C:/path/to/dir ``` Here's how it looks like on Windows 2000: ![LFSA on Windows 2000][lfsa-on-windows] ## Durability 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. [pskov]: http://opengamestudio.org/pskov [lfsa-local]: ../lfsa-201905.py [python]: https://www.python.org/downloads/windows/ [cmd]: https://en.wikipedia.org/wiki/Cmd.exe [lfsa-on-macos]: ../img/lfsa-on-macos.png [lfsa-on-windows]: ../img/lfsa-on-windows.png