Commit graph

167 commits

Author SHA1 Message Date
Daoud Clarke
2ef8304919 Remove some debug print statements 2022-01-30 13:16:24 +00:00
Daoud Clarke
66696ad76b
Merge pull request #37 from mwmbl/index-mwmbl-crawl
Index mwmbl crawl
2022-01-30 13:12:06 +00:00
Daoud Clarke
5b89bbf05d Index Mwmbl crawled data 2022-01-29 08:26:42 +00:00
Daoud Clarke
ef36513f64 Analyse the pages that are crawled most often 2022-01-29 07:06:53 +00:00
Daoud Clarke
70254ae160 Analyse crawled URLs and domains 2022-01-26 18:51:58 +00:00
Daoud Clarke
171fa645d2 Add script to export top domains 2022-01-23 22:04:30 +00:00
Daoud Clarke
908a9cf0b6
Merge pull request #36 from ColinEspinas/remove-old-frontend
Remove old front-end files and routes
2022-01-20 18:06:54 +00:00
ColinEspinas
3481ad372b Removed old front-end files and routes 2022-01-19 23:33:37 +01:00
Daoud Clarke
a41088ca9a Add CORS; revert back to previous index as it timed out deploying 2022-01-03 18:31:03 +00:00
Daoud Clarke
25918e42ef Export URLs to sqlite for evaluation purposes 2022-01-02 20:06:13 +00:00
Daoud Clarke
ae7312c32a
Merge pull request #31 from nitred/fix-python-m-run
Using the app object to start uvicorn, instead of using a reference like "mwmbl.tinysearchengine.app:app"
2021-12-31 22:11:15 +00:00
nitred
fbdb93c86a Using the app object to start uvicorn, instead of using a reference like "mwmbl.tinysearchengine.app:app"
- fixes the issue when running the server using python -m mwmbl.tinysearchengine.app

When running the server using python -m, uvicorn seems to spawn a new process or interpreter session.
At least it appears that way since already initialized & imported modules and variables appear to be uninitialized.
2021-12-31 02:15:16 +01:00
Daoud Clarke
e6655101ef Add a component of the HN domain score when ranking 2021-12-30 22:20:10 +00:00
Daoud Clarke
f347fe29ac Add .gcloudignore file to fix gcloud run deploy 2021-12-30 21:17:18 +00:00
Daoud Clarke
3f74229ae9
Explain pronounciation 2021-12-30 20:35:11 +00:00
Daoud Clarke
02bcef640c
Merge pull request #25 from ColinEspinas/search-debounce
Added debounce on search input
2021-12-29 20:59:29 +00:00
Daoud Clarke
3d7e655ebc
Merge pull request #24 from nitred/config-and-entrypoint
added config and binary/entrypoint for mwmbl.tinysearchengine
2021-12-29 20:54:23 +00:00
ColinEspinas
c636be9089 Added debounce on search input (#8) 2021-12-29 21:03:47 +01:00
nitred
a72a08a7d9 added config and binary/entrypoint for mwmbl.tinysearchengine
- using pydantic to validate the config
- added a default bootstrap config at config/tinysearchengine.yaml
- refactored app.py to include parsing CLI argument using argparse
- refactored app.py to use fewer global variables
- added "mwmbl-tinysearchengine" binary/entrypoint in pyproject.toml
- updated Dockerfile to work with these changes and added comments to it
2021-12-29 15:26:33 +01:00
Daoud Clarke
da8797f5ef
Merge pull request #18 from nitred/mwmbl-package
renamed package to mwmbl
2021-12-29 09:34:05 +00:00
Daoud Clarke
0b7bc90a05
Merge pull request #21 from ArcoMul/add-dev-instructions-to-readme
Add development instructions to README + fix .gitignore
2021-12-29 09:04:53 +00:00
Arco Mul
b6c1630953 Update .gitignore: fix ignoroing data folder in root of repository 2021-12-29 09:21:57 +01:00
Arco Mul
d5a612aa47 Update README: add development instructions 2021-12-29 09:21:26 +01:00
nitred
be40a15b27 Merge branch 'master' into mwmbl-package 2021-12-29 00:25:37 +01:00
Daoud Clarke
03ca368b2a
Merge pull request #17 from nitred/python-gitignore
added standard .gitignore template for python from the github/gitignore repo
2021-12-28 21:29:00 +00:00
Daoud Clarke
0baed3780d
Merge pull request #13 from nitred/indexer-dependencies-as-extra
Fixes #12, Added dependencies for indexer as extra or extra_requires
2021-12-28 21:27:56 +00:00
Daoud Clarke
04d7cbdfe3
Merge pull request #11 from ArcoMul/fix-mobile-layout
Make page responsive for mobile devices
2021-12-28 21:26:18 +00:00
nitred
11eedcde84 renamed package to mwmbl
- renamed package to mwmbl in pyproject.toml
- tinysearchengine and indexer modules have been moved into mwmbl package folder
- analyse module has been left as is in the root of the repo
- import statements in tinysearchengine now use mwmbl.tinysearchengine
- import statements in indexer now use mwmbl.indexer or mwmbl.tinysearchengine or relative imports like .paths
- import statements in analyse now use mwmbl.indexer or mwmbl.tinysearchengine
- final CMD in Dockerfile now uses updated path mwmbl.tinysearchengine.app
- fixed a couple of import statement errors in tinysearchengine/indexer.py
2021-12-28 12:35:46 +01:00
nitred
91b357b6e2 added standard .gitignore template for python from the github/gitignore repo 2021-12-28 11:36:01 +01:00
nitred
c02c052281 Fixes #12, Added dependencies for indexer as extra or extra_requires
- dependencies for indexer can be installed using "pip install .[indexer]" or "poetry install -E indexer"
2021-12-27 15:46:24 +01:00
Arco Mul
e773ff68e5 Decrease font-size of url so that the title stands out more 2021-12-27 12:36:10 +01:00
Arco Mul
4e41f68a46 Make page responsive for mobile devices 2021-12-27 12:29:09 +01:00
Daoud Clarke
acb2d19470
Merge pull request #6 from ndren/master
Do not send Referer
2021-12-27 08:57:07 +00:00
Andrei E
389d0abcc1 Do not send Referer 2021-12-26 22:48:03 +00:00
Daoud Clarke
61e5dba20d
Merge pull request #5 from ndren/master
Add Matrix button
2021-12-26 22:14:06 +00:00
Andrei E
a09340891a GPLv3 -> AGPLv3 2021-12-26 22:05:15 +00:00
Andrei E
0cd2bd5346 Add Matrix button 2021-12-26 21:58:27 +00:00
Daoud Clarke
0ea7a0c031 Merge branch 'master' of github.com:mwmbl/mwmbl 2021-12-26 21:26:50 +00:00
Daoud Clarke
b47de434dd Add link to Matrix chat 2021-12-26 21:26:39 +00:00
Daoud Clarke
8fcc75f037
Create LICENSE 2021-12-26 09:08:31 +00:00
Daoud Clarke
baede32298 Move indexer code to a separate package 2021-12-26 08:55:09 +00:00
Daoud Clarke
8cfb8b7a44 Remove debug print code 2021-12-26 08:47:33 +00:00
Daoud Clarke
794af00bfb Update domain name 2021-12-25 23:19:01 +00:00
Daoud Clarke
722328efa5 Write readme 2021-12-25 23:17:38 +00:00
Daoud Clarke
6ab961d070 Look for onchange events to get it working on mobile 2021-12-25 09:50:58 +00:00
Daoud Clarke
0721ec0f81 Specify correct host to make the app available 2021-12-24 21:24:35 +00:00
Daoud Clarke
7e520fb32f Get Dockerfile working 2021-12-23 21:30:51 +00:00
Daoud Clarke
9c65bf3c8f WIP: implement docker image. TODO: copy index and set the correct index path using env var 2021-12-22 23:21:23 +00:00
Daoud Clarke
f754b38f71 Prevent default for up and down keys 2021-12-20 23:21:40 +00:00
Daoud Clarke
8f8fc43c9f Improve focus on reload, back, etc 2021-12-20 23:15:42 +00:00