Add more readme info

This commit is contained in:
2025-08-08 23:25:17 +03:00
parent 3842aa28cf
commit 375cd7a0f5
2 changed files with 6 additions and 4 deletions

View File

@@ -15,6 +15,8 @@ The Discord alternative for Terminal nerds.
<img src="./assets/eko-screenshot.png" width="100%" alt="Eko Showcase">
</p>
Don't forget to ⭐ the repo!
## Features
- 🟢 Vim-style navigation and editing
@@ -62,7 +64,7 @@ They are inspired by vim and should feel intuitive.
To ask questions, suggest features, or chat with the community,
it's recommended to join the official server.
To do so press `a` while focused on the network list and paste `<invite code>` into it.
To do so press `a` while focused on the network list and paste `7660950781952` into it.
And that's it!
@@ -119,7 +121,7 @@ Optionally move the executable to somewhere in your path so you can access it fr
Id love to hear your thoughts on this project.
Reach me via:
- Eko: `<My ID>` (focus the Signal pane, press `a` and paste)
- Eko: `2102554263552` (focus the Signal pane, press `a` and paste)
- Discord: Kyren223
## Licenses

View File

@@ -75,9 +75,9 @@ func NewNode(node int64) *Node {
assert.Assert(nodeBits+stepBits == 22, "node and step bits must add up to 22")
assert.Assert(0 <= node && node <= NodeMax, "node must be within 0 and NodeMax", "node", node)
// Credit to https://github.com/bwmarrin/snowflake
// NOTE(kyren): Credit to https://github.com/bwmarrin/snowflake
currentTime := time.Now()
// add time.Duration to curTime to make sure we use the monotonic clock if available
// add time.Duration to currentTime to make sure we use the monotonic clock if available
epoch := currentTime.Add(time.Unix(Epoch/1000, (Epoch%1000)*1000000).Sub(currentTime))
return &Node{