You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ For more background, see the initial [discussion](https://github.com/hackmdio/co
16
16
-`wget` (install via `apt install wget` or `brew install wget` on Mac)
17
17
-`jq` (install via `apt install jq` or `brew install jq` on Mac)
18
18
19
+
### Instructions
20
+
19
21
Clone the repository.
20
22
21
23
$ git clone https://github.com/hedgedoc/cli
@@ -48,12 +50,12 @@ Test your configuration by creating a new note with FREELY access and no login r
48
50
Check for the document in the browser by concatenating the
49
51
address of your server and the `<note_id>`.
50
52
51
-
## Documentation
52
-
53
-
It's not necessary to authenticate against the server in order to make use of `hedgedoc-cli`. But without authentication you won't have access to the non-FREELY documents and everything that's accessible behind the login.
53
+
## Configuration and usage
54
54
55
55
### Variants of authentication
56
56
57
+
It's not necessary to authenticate against the server in order to make use of `hedgedoc-cli`. But without authentication you won't have access to the non-FREELY documents and everything that's accessible behind the login.
58
+
57
59
#### Authenticate with cookie
58
60
59
61
Authentication with a cookie is so far the only way if you login with GitLab and the like. Use browser extensions like [Get cookies.txt](https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid) to store the cookie in `key.conf`.
0 commit comments