Update todo list

This commit is contained in:
Zed 2019-06-23 14:34:19 +02:00
parent dd8a7dcdff
commit 096471b50d
2 changed files with 13 additions and 11 deletions

View File

@ -23,17 +23,19 @@ like the title, this will change as the project matures a bit. For now the focus
is on implementing missing features.
## Todo (roughly in this order)
- Search
- Simple account system with feed (excludes retweets)
- Twitter "Cards" (link previews)
- Nitter link previews
- Server configuration
- Video support with hls.js
- Json API endpoints
- Hiding retweets from timelines
- Themes
- Search (+ hashtag search)
- Emoji support
- Twitter polls
- Server configuration
- Simple account system with feed (excludes retweets)
- Hiding retweets from timelines
- Video support with hls.js
- Media-only view
- Themes
- File caching
- Json API endpoints
- Nitter logo
## Why?

View File

@ -5,13 +5,13 @@ const key = "supersecretkey"
proc mimetype*(filename: string): string =
if ".png" in filename:
return "image/" & "png"
"image/" & "png"
elif ".jpg" in filename or ".jpeg" in filename:
return "image/" & "jpg"
"image/" & "jpg"
elif ".mp4" in filename:
return "video/" & "mp4"
"video/" & "mp4"
else:
return "text/plain"
"text/plain"
proc getHmac*(data: string): string =
($hmac(sha256, key, data))[0 .. 12]