Commit graph

150 commits

Author SHA1 Message Date
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
Daoud Clarke
202ef35d7a Make Enter key work when pressing Enter 2021-12-20 23:05:22 +00:00
Daoud Clarke
30a00425ae Follow selected item on enter 2021-12-20 23:02:12 +00:00
Daoud Clarke
5e7c5a905e Select item with arrow keys 2021-12-20 21:28:01 +00:00
Daoud Clarke
2d7bb0efd7 Add background colour and hover highlighting 2021-12-20 20:55:46 +00:00
Daoud Clarke
c22f522c07 Improve styling 2021-12-19 22:48:53 +00:00
Daoud Clarke
7c745ef87b Show the URL 2021-12-19 22:34:44 +00:00
Daoud Clarke
585f4bd00c Format extract differently 2021-12-19 22:16:01 +00:00
Daoud Clarke
734798e4de Prefer items that find the result early on 2021-12-19 21:38:17 +00:00
Daoud Clarke
9ee6f37a60 Analysis to confirm that 'leek and potato soup' page was really missing 2021-12-19 21:09:00 +00:00
Daoud Clarke
4cbed29c08 Show the extract 2021-12-19 20:48:28 +00:00
Daoud Clarke
16121d2b19 Index extracts 2021-12-18 22:56:39 +00:00
Daoud Clarke
4fa1c4a39a Filter results with low scores 2021-12-18 22:35:59 +00:00
Daoud Clarke
6b72a056b2 Improve results ordering 2021-12-18 12:42:04 +00:00
Daoud Clarke
cc290bfc07 Bold search terms in results 2021-12-17 21:31:26 +00:00
Daoud Clarke
e4d2a45d6c Add css 2021-12-16 22:26:50 +00:00
Daoud Clarke
1d8b37add1 Set cursor at the end of the input 2021-12-16 21:55:04 +00:00
Daoud Clarke
af29b4c039 Update results as you type 2021-12-16 21:36:01 +00:00