Create a user without Koreader
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 45/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- bash
- Domain
- documentation
Research direction
Start by reviewing the Bash/curl workflow in the issue and the /users/create endpoint it calls. Confirm whether this process should be added to the project's documentation; done means a newcomer can create a user without the Koreader application, with the MD5 password and server URL details explained.
Written by the indexing model from the issue text.
Description
If anyone else was wondering how to create a user without the Koreader application (for example for when you use an Xteink X4/X3 and just want the koreader sync feature)
#!/bin/bash
# remove the `<` and `>` brackets
USERNAME="<some_username>" # replace your username here
PASSWORD="<some_password>" # replace your password here
SERVER="https://<your_koreader_sync_server:7200>" # Omit the port if you're using a reverse proxy, or change the port to whatever you're exposing through docker.
PASSWORD_MD5=$(echo -n "$PASSWORD" | md5sum | awk '{print $1}')
curl -k -X POST "$SERVER/users/create" \
-H "Accept: application/vnd.koreader.v1+json" \
-H "Content-Type: application/json" \
-d "{\"username\":\"$USERNAME\",\"password\":\"$PASSWORD_MD5\"}"
- Dominant language
- Lua
- Stars
- 824
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from koreader/koreader-sync-server
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
koreader/koreader-sync-server#52 · 13 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
koreader/koreader-sync-server#47 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
koreader/koreader-sync-server#25 · 6 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
koreader/koreader-sync-server#2 · 4 comments · 1 reaction ·
All issues in koreader/koreader-sync-server
Similar issues
-
bug discord triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
area:boot area:ci phase:2 priority:P1 type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
wenkais196-Gabriel/T-City#504 ·
Maintainers usually reply within 1 day
-
forever from-game
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
openmap-world/openmap#655 ·
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100