readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
todo
[ ] GET /
logged out:
describe what feeds.gay is & why it's cool, tell ppl to sign up
discover (list of top20 most popular feeds on feeds.gay)
logged in:
discover (list of top20 most popular feeds on feeds.gay)
[x] GET /login
form (existing account): username & password
form (new account): username & password
built & maintained by jes
[ ] POST /login
success:
add session cookie
update last_login
redirect to /{username}
fail:
log an existing user in, add session cookie, redirect to /{username}
login failure, redirect to /login
[ ] POST /logout
delete session cookie if exists
redirect to /
[ ] POST /register
success:
add session cookie
redirect to /
fail:
update
add new user & hashed password to database
register failure: redirect to /login
[ ] GET /{username}
display pretty feeds for a given user
there is a button to view the raw feed list (plaintext)
if logged in: there is an edit button
[ ] GET /{username}/feeds
put your feeds here, one per line:
<text box with pre-populated list of feeds from {username}>
display a text box pre-populated with the list of feeds that make up {username}
if you don't know what feeds to use, check out /discover for ideas
button: validate
if validated, display locked list of feeds with button: submit
[ ] POST /{username}/feeds
subscribe to all of the feeds in your textbox
maybe:
rate limiting for logins & registrations
background:
fetch feeds every ~90m
headers
unauth'd: login
auth'd: my feeds | login
sql
user (id, username, password, session_token, created_at)
feed (id, url, fetch_error, created_at, created_by)
subscribe (id, user, feed, created_at, created_by)