python port - pointhi/searx_stats GitHub Wiki
If we port that project to python, we should define goals before starting programming :)
(Feel free to improve that page)
Functions/Ideas
- crawling searx instances and searx-engines
- showing currect status of an engine/instance
- RSS-Feed with updates (engine isn't working anymore, ...)
- crawl history
- admin-panel
- ssl-rating
Database design
instance
general informations about a instance
db column | db options | description |
---|---|---|
id | AI, PRIMARY | |
url | url to instance | |
description | ||
activated | is this instance active displayed/crawled? |
instance_crawl
storing result of every instance crawl.
db column | db options | description |
---|---|---|
id | AI, PRIMARY | |
instance_id | INDEX | |
return_code | ||
version | ||
response_time | ||
date |
engine
general informations about a engine
db column | db options | description |
---|---|---|
id | AI, PRIMARY | |
name | name of engine | |
shortcut | shortcut of engine | |
description | ||
activated | is this engine active displayed/crawled? |
engine_crawl
storing result of every engine crawl.
db column | db options | description |
---|---|---|
id | AI, PRIMARY | |
engine_id | INDEX | |
results | ||
response_time | ||
date |
user
db column | db options | description |
---|---|---|
id | AI, PRIMARY | |
username | INDEX | |
password | salted and hashed | |
is_admin | finer right system would be more flexibel |