No Description

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

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