forked from PatchyVideo/PatchyVideo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo.txt
156 lines (153 loc) · 5.05 KB
/
todo.txt
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
======================
phase 1
======================
#user functions:
# user page
# change password
#video uniqueness check for user
#tag santize/add xx_(yy) support to tag lexer
#user input santize
#thumbnail storing for video
#database ACID
#playlist search
#edit playlist
#check for page title correctness
#spiders:
# YTB js version
# Nico py version
# Nico js version
# Twitter py version
# Twitter js version
#spider error page handling(py)
#spider error page handling(js)
#av/sm number expand
#batch video post
#UI beautify
#tag display with category
#log activities
#add https to URL when crawling to prevent rediect
#UI beautify level 2
#navbar tags
#A better tag editting mechanism
#trim url
#searchbar search for video link
#redirect to previous url after login
#common tags amount playlist
#add copy video url button
#support adding link of patchyvideo
#advanced search term like site:bilibili
======================
phase 2
======================
#support nm for nico
#unify config
#remove footer touhou copyright
#post video using same tags
#sync merge tags from copies
#get video upload date
#search term like date:XXX
#all query using GET
#sort by video upload date
#batch post as copies
#<!!HIGH PRIORITY!!> tag alias(as multi-language phase1)
# lacking UI for tag alias
#recover password
# lacking UI support
#user access control for backend
#user access control for frontend HTMLs
#log error, don't want others to see filenames in error response
#change background image to include more patchouli
#better user profile page
#user sees his playlists
#user sees his uploads
#user sees his pending/failed uploads
# backend done, need UI
#create playlist from a single video
!create playlist from current playlist but with videos from other site in "copies" field
lacking UI support
#search playlist
#beautiful http error page
#add interactive admin shell
#unify naming convention for status code AND use exception to replace status code
#unify JSON return as status code, not error message
add multi-language framework
#use reader-writer lock to protect tag rename/deletion
add wiki/help page and documents/tagging guide
#<!!HIGH PRIORITY!!> replace redis queue which is slow and does not support multiple workers/coroutines
# make postVideo async, don't want to waste time on requests.get
#reorder playlist insert/add result after async post
#make autocomplete with fast_io::epoll
#fix autocomplete unicode bug
#support suffix autocomplete
#tag rename
# lack tag rename for non-language tags
#root tag language mark
#user-friendly error messages
show tag counts on video detail page
#use common tags when adding video to playlist
#add ajax interface for updating internal configs(e.g. bilicookie_SESSDATA) for both scraper and main website
add clearence level for updating configs
#add refresh video detail function
!logging using MongoDB
need log viewing UI
#check ajax input(e.g. page/page_size)
use redis to cache commonly used video pages and tag translation
add robots.txt
remove unnecessary fileds from ajax results
!interface for updating user access control info, remember to update user's access control info in redis db as well
lacking UI support
#interface for updating video clearence
# lacking UI support
#add view pending post playlist job interface
#async frontend helper, create a new container for this task
#add index for placeholder and folder
#playlist tree structure(folder)
# need UI
#image upload for cover/user-id photo
#check user input for IPFS upload and image upload
!merge tag
lacking UI
#nico.ms support vue
#add video to playlist from video detail page
create video copy from desc automatically
#extend playlist with playlist
#post playlist optimization: once locked, no longer need to check for playlist existence and correctness for every video
======================
offical launch
======================
#restructured tag system for full multi language support
tag group
!autotag support
twitter is not supported
!tag cooccurrences/related tag when posting video
current algorithm is expensive
tag rule(e.g. adding touhou_mmd will results in mmd tag being added)
#batch post from existing playlist
mobile phone UI
full multi-language support(CHS/CHT/JPN/ENG)
automatically identify insufficient tags, show this message on both video upload and video detail page
request videos for backup
expand NOT operator
+ phase 2
======================
phase 3
======================
use microservice architecture
user change video title/desc
mark playlist as outdated, so its creator can update it
IPFS support
make everything async, don't want to waste time on spin locks
user subscript to playlists
#user photo storing
custom thumbnail for playlist
user subscriptions
danmaku
comment section
video downloading
tag prompt/auto-complete
show uploader profile photo
jsproxy for sites
#video tagging history
autotag using browser plugins(use tensorflow.js to recognize characters)
autotag with simple NLP
#full text search