chore: rename url2text to reader

This commit is contained in:
Han Xiao 2024-04-13 12:25:42 -07:00
parent eaaaf773df
commit 8378cb06ee
2 changed files with 3 additions and 17 deletions

View File

@ -41,9 +41,11 @@ cd backend/functions
npm install
```
## About `[thinapps-shared](thinapps-shared)`
## What is `[thinapps-shared](thinapps-shared)` submodule?
You might notice a reference to `thinapps-shared` submodule, an internal package we use to share code across our products. While its not yet open-sourced and isn't integral to the Reader's primary functions, it helps with logging, syntax enhancements, etc. Feel free to disregard it for now.
That said, this repo is *the* codebase behind `https://r.jina.ai`, so everytime we update here, will deploy the new version to the `https://r.jina.ai`.
## License
Apache License 2.0

View File

@ -3,22 +3,6 @@ import { initializeApp } from 'firebase-admin/app';
initializeApp();
// export const onUserCreated = functions
// .runWith({ secrets: [...secretExposer.bundle], memory: '512MB' })
// .auth.user()
// .onCreate(async (user) => {
// return null;
// });
// export const onUserLogin = functions
// .runWith({ secrets: [...secretExposer.bundle], memory: '512MB' })
// .auth.user()
// .beforeSignIn(async (user, _ctx) => {
// return;
// });
import { loadModulesDynamically, registry } from './shared';
import path from 'path';
import { ApplicationError } from 'civkit';