Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geometricpanda/babelfish
https://github.com/geometricpanda/babelfish
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/geometricpanda/babelfish
- Owner: geometricpanda
- Created: 2024-08-31T22:31:17.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T14:08:30.000Z (5 months ago)
- Last Synced: 2024-10-27T13:16:05.688Z (3 months ago)
- Language: JavaScript
- Size: 15.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Setup
## Dependencies
- Run Docker Compose `docker-compose up`
- Install dependencies `yarn install`## Transit Encryption
### Generate a private key
This will prompt you for a password```shell
openssl genpkey \
-out apps/transit/decrypt/private-key.pem \
-algorithm RSA \
-aes256
```then create a `.env` file in `apps/transit/decrypt` with the following content
```dotenv
PRIVATE_KEY=private-key.pem
PRIVATE_KEY_PASSPHRASE=YOUR PASSWORD
```### Generate a public key
This will prompt you for a password```shell
openssl rsa \
-in apps/transit/decrypt/private-key.pem \
-out apps/transit/encrypt/public-key.pem \
-pubout
```then create a `.env` file in `apps/transit/encrypt` with the following content
```dotenv
PUBLIC_KEY=public-key.pem
```## Storyblok Webbook
Generate a `.env` file in `apps/storyblok/webook`;
```shell
echo "WEBHOOK_SECRET=$(openssl rand -base64 32)" > ./apps/storyblok/webhook/.env
```**Note:** This is the secret given to storyblok when creating the webhook.
The above one is just an example, working with the requests in the Storyblok docs example.## Broker
Currently has no secrets.