CatgirlIntelligenceAgency/README.md

89 lines
3.6 KiB
Markdown
Raw Normal View History

2023-03-27 17:25:27 +02:00
# Marginalia Search
2022-05-19 17:45:26 +02:00
2023-03-04 13:19:01 +01:00
This is the source code for [Marginalia Search](https://search.marginalia.nu).
2022-05-21 12:10:54 +02:00
2022-05-31 14:15:20 +02:00
The aim of the project is to develop new and alternative discovery methods for the Internet.
It's an experimental workshop as much as it is a public service, the overarching goal is to
2023-06-27 18:32:47 +02:00
elevate the more human, non-commercial sides of the Internet.
2023-06-27 18:32:47 +02:00
A side-goal is to do this without requiring datacenters and enterprise hardware budgets,
to be able to run this operation on affordable hardware with minimal operational overhead.
The long term plan is to refine the search engine so that it provide enough public value
that the project can be funded through grants, donations and commercial API licenses
(non-commercial share-alike is always free).
2022-05-31 14:15:20 +02:00
2023-03-20 16:10:39 +01:00
## Set up
2022-05-31 14:15:20 +02:00
2023-04-02 14:43:14 +02:00
Start by running [⚙️ run/setup.sh](run/setup.sh). This will download supplementary model data that is necessary to run the code.
These are also necessary to run the tests.
2023-03-20 16:10:39 +01:00
2023-04-02 14:43:14 +02:00
To set up a local test environment, follow the instructions in [📄 run/readme.md](run/readme.md)!
2023-04-22 21:02:25 +02:00
## Hardware Requirements
A production-like environment requires at least 128 Gb of RAM and ideally 2 Tb+ of enterprise
grade SSD storage, as well as some additional terabytes of slower harddrives for storing crawl
data. It can be made to run on smaller hardware by limiting size of the index.
A local developer's deployment is possible with much smaller hardware (and index size).
2023-04-02 14:08:17 +02:00
## Project Structure
2022-05-30 16:48:11 +02:00
2023-04-02 14:08:17 +02:00
[📁 code/](code/) - The Source Code. See [📄 code/readme.md](code/readme.md) for a further breakdown of the structure and architecture.
[📁 run/](run/) - Scripts and files used to run the search engine locally
[📁 third-party/](third-party/) - Third party code
[📁 doc/](doc/) - Supplementary documentation
[📄 CONTRIBUTING.md](CONTRIBUTING.md) - How to contribute
[📄 LICENSE.md](LICENSE.md) - License terms
2022-05-30 16:48:11 +02:00
## Contact
2022-06-15 16:53:19 +02:00
You can email <kontakt@marginalia.nu> with any questions or feedback.
2023-04-02 14:08:17 +02:00
## License
The bulk of the project is available with AGPL 3.0, with exceptions. Some parts are co-licensed under MIT,
third party code may have different licenses. See the appropriate readme.md / license.md.
2023-06-30 11:49:17 +02:00
## Versioning
The project uses modified Calendar Versioning, where the first two pairs of numbers are a year and month coinciding
with the latest crawling operation, and the third number is a patch number.
```
version
--
yy.mm.VV
-----
crawl
```
For example, `23.03.02` is a release with crawl data from March 2023 (released in May 2023).
It is the second patch for the 23.02 release.
Versions with the same year and month are compatible with each other, or offer an upgrade path where the same
data set can be used, but across different crawl sets data format changes may be introduced, and you're generally
expected to re-crawl the data from scratch as crawler data has shelf life approximately as long as the major release
cycles of this project. After about 2-3 months it gets noticeably stale with many dead links.
For development purposes, crawling is discouraged and sample data is available. See [📄&nbsp;run/readme.md](run/readme.md)
for more information.
## Funding
### Donations
Consider [donating to the project](https://www.marginalia.nu/marginalia-search/supporting/).
### Grants
This project was funded through the [NGI0 Entrust Fund](https://nlnet.nl/entrust), a fund established by [NLnet](https://nlnet.nl) with financial support from the European Commission's [Next Generation Internet](https://ngi.eu/) programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101069594.
![NLnet Foundation](nlnet.png)
![NGI0](NGI0Entrust_tag.svg)