暫無描述

bmallred a6bc2137d0 saving prev 9 年之前
handlers a6bc2137d0 saving prev 9 年之前
html a6bc2137d0 saving prev 9 年之前
.gitignore b33fa2fa40 Init commit 9 年之前
LICENSE b33fa2fa40 Init commit 9 年之前
README.md 02291b83d2 updated readme file 9 年之前
account.go c32a1bcc0e added more tests and refactored 9 年之前
account_test.go 759c380304 added ability to add content 9 年之前
environment.go c32a1bcc0e added more tests and refactored 9 年之前
environment_test.go c32a1bcc0e added more tests and refactored 9 年之前
main.go a6bc2137d0 saving prev 9 年之前
markdown.go 42125d9add added markdown processing to html 9 年之前
markdown_test.go 42125d9add added markdown processing to html 9 年之前
security.go c32a1bcc0e added more tests and refactored 9 年之前
security_test.go c32a1bcc0e added more tests and refactored 9 年之前

README.md

loop

Environment Variables

- LOOP_URL      (Default: localhost:6006)
- LOOP_SALT     (Default: whatyoutalkingaboutwillus)
- LOOP_DATA     (Default: .)

Basic Structure

./loop_users

User name and hashed password security. Not the best but definitely simple.

{LOOP_DATA}/{username}/content/{unique-id}

This directory holds the core data. Essentially every editable item has a unique identifier which then holds the data specific to it. By default every new item will contain a default markdown file. Ex:

- document.md
- kittens.gif
- uberawesomeness.odt

{LOOP_DATA}/{username}/blog

The blog directory contains symbolic links to content which has been marked as a public entry. The format of the file name gives the unique title of the blog entry. Ex:

- 201501010730-my-first-blog-post -> ../content/yaddayaddayadda

{LOOP_DATA}/{username}/calendar

The calendar name will be represented in the file name with the file extension .ics. Ex:

- Employee Work Items.ics
- Personal.ics