NPDFVX7TVYHHZREH3PLWEW2WCDKANATYK5C65YQ3WYUZTJ7UDFLAC A4OAUGCI4B4DW4CQKAUDWIJX2556XN4DSDZYUWBYW3UDSW5YFFYQC 67WZITE5AQQ2AW7NZ3NCTKMVHKDMGBA4VK7R6KJAENFRKIO2NHNQC GDBDGLRHJSMN527PHXGZVSGF55EYT4X3GFNF4LF6363JE2FGBQXQC FS2ITYYHBLFT66YUC3ENPFYI2HOYHOVEPQIN7NQR6KF5MEK4NKZAC CZ75J5XVD2PTAPK67BUL4QY2RDBGRLITYX3SOLXUJ2UFD5CCVRCQC MISEW25VIMXQ6ID37VQ365KAMPQ5O4COYWEIK6M4JXKIG7L5DVSQC 7CJKZDU3YJPOKJB4J4GAH7IVDSJXURQKS36YCHJIARRPVDXZOOOAC P3PCGTC4ZITFU44PE5G6ITA5KRJPDENP66Y7YLQY3RQIFPUNOWYAC MRFCN57PUIYI4LXGVZ3JP7SJHFHMGCSM56KHMLH2TJPMTBQ7VN3QC R5HNWYMH47LWVHS5VVXNR6TCBDXDURVXZ6RCUNFTTTMIXF275ULQC X7HYGAL2QVKG7M5EMZ2VSH37UYWGE3EPUXYQBJOVL6IGJFZ2I5AAC WVWSJFCXLID3WSA52K7DIMAHY2HFZIBCJ3NR6FQ5ZC4TJLBR4V4QC Run this app from the terminal, [passing its directory to LÖVE](https://love2d.org/wiki/Getting_Started#Running_Games).pothi.love will print the path where it expects to find articles. Quit, createa folder called `data/` under this path, put text files there. Restart.
Open the app. Initially you'll see a series of two errors. The first errorlooks like this:```Error: no directory /home/akkartik/.local/share/love/pothi/data found. Please store articles to browse there before opening this app.```
cd ~/.local/share/love/pothi
Sorry, I am not permitted to create directories (folders). Please create directory /home/akkartik/.local/share/love/pothi/data/comments for storing comments in.```Create the sub-directory mentioned here. (Again, you can copy the errormessage to the clipboard by pressing `ctrl+c`.) Quit and restart.Now the app will open to a list of files. Click on any filename to read it andleave comments on it. The comments will live on your computer. Share them withothers by any means of your choice.It's not the cleanest onboarding in the world. As a concrete example, on mymachine I ran the following commands in a terminal window to get past botherrors:```shellcd /home/akkartik/.local/share/love/pothi
love ~/pothi
Further suppose you loaded some articles as follows:```shellcd ~/.local/share/love/pothigit clone http://canonical.org/~kragen/sw/pavnotes2.git # no directory name provided# articles now saved to a directory called pavnotes2mkdir pavnotes2/comments
on.initialize = function()local comment_dir = love.filesystem.getSaveDirectory()..'/'..Data_dir..'/comments'if not file_exists(comment_dir) thenerror('Sorry, I am not permitted to create directories (folders). Please create directory '..comment_dir..' for storing comments in.')
on.initialize = function(arg)if #arg > 0 thenData_dir = arg[1]endlocal repo_path = love.filesystem.getSaveDirectory()..'/'..Data_dirprint('reading articles from '..repo_path)if not file_exists(repo_path) thenerror('no directory '..repo_path..' found. Please store articles to browse there before opening this app.')endlocal comment_path = repo_path..'/comments'if not file_exists(comment_path) thenerror('Sorry, I am not permitted to create directories (folders). Please create directory '..comment_path..' for storing comments in.')