Update README.md

pull/8/head
qwertyforce 2022-09-03 16:08:10 +03:00 committed by GitHub
parent f87ae6e9dd
commit 54864ff52f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 10 deletions

View File

@ -7,16 +7,7 @@ How it works: [how_it_works_scenery.md](https://github.com/qwertyforce/scenery/b
```python
#OLD: How it works: https://habr.com/ru/post/578254/ [RU]
```
## Current stack:
- Node.js + TypeScript
- [ambience](https://github.com/qwertyforce/ambience)
- Fastify
- MongoDB
- Next.js
- MUI
- sharp
## features <br>
## Features <br>
- Search by tags (supports logical expressions, https://scenery.cx/search_syntax)
- Semantic text search
@ -26,6 +17,15 @@ How it works: [how_it_works_scenery.md](https://github.com/qwertyforce/scenery/b
- Automatic tagging and captioning
- IPFS support (using [additional microservice](https://github.com/qwertyforce/crud_file_server))
## Current stack:
- Node.js + TypeScript
- [ambience](https://github.com/qwertyforce/ambience)
- Fastify
- MongoDB
- Next.js
- MUI
- sharp
## Installation
1. Clone the repository
2. ```npm install```
@ -33,3 +33,14 @@ How it works: [how_it_works_scenery.md](https://github.com/qwertyforce/scenery/b
4. install [ambience](https://github.com/qwertyforce/ambience)
## Docs
```npm run build``` -> build everything
```npm run build_pages``` -> build next.js pages and some of backend code
```npm run build_server``` -> build .ts files
```npm run import_tags``` -> import tags from /import/id_tags.txt (generated by places365_tagger_web)
```npm run import_captions``` -> import captions from /import/id_caption.txt (generated by image_caption_web)
```npm run import_captions``` -> import captions from /import/id_caption.txt (generated by image_caption_web)
```npm run import_with_check``` -> import images from /import/images with duplication check and calculation of ambience features, including tags and captions
```npm run import_without_check``` -> import images from /import/images without duplication check and calculation of ambience features, including tags and captions
if you add "-- --use_filename_id" to these npm scripts, image_id will be extracted from file name. File name must be an unique number > 0