Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d13r/dictaphone-to-email
https://github.com/d13r/dictaphone-to-email
aws-transcribe concurrent laravel-zero php s3 wsl
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/d13r/dictaphone-to-email
- Owner: d13r
- Created: 2023-02-25T23:30:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T21:43:16.000Z (7 months ago)
- Last Synced: 2024-11-11T15:44:07.350Z (2 months ago)
- Topics: aws-transcribe, concurrent, laravel-zero, php, s3, wsl
- Language: PHP
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dictaphone to Email
## Setup
```bash
git clone [email protected]:d13r/dictaphone-to-email.git
cd dictaphone-to-email
composer install
sudo visudo /etc/sudoers.d/dictaphone-to-email
```Enter:
```bash
dave ALL=(ALL) NOPASSWD:/usr/bin/mkdir -p /mnt/r
dave ALL=(ALL) NOPASSWD:/usr/bin/mount -t drvfs r\: /mnt/r
dave ALL=(ALL) NOPASSWD:/usr/bin/umount /mnt/r
dave ALL=(ALL) NOPASSWD:/usr/bin/rmdir /mnt/r
```Then:
```bash
cp .env.example .env
vim .env
```Create an IAM policy (see [iam-policy.json](iam-policy.json)), user and access keys.
Create an S3 bucket. Make a lifecycle rule to delete files automatically after 1 day, in case the automatic cleanup fails.
Create the following shortcut:
```bash
wt.exe --profile Ubuntu wsl.exe --distribution Ubuntu ~/dictaphone-to-email/dictaphone-to-email && read -p 'Press Enter to continue...'
```