Audio2Note is an open-source tool that transcribes audio into text and generates concise summaries. Using Whisper for transcription in multiple languages and Hugging Face for advanced summarization, it integrates with Google Drive and Notion to streamline idea management.
Clone this repository on your local machine.
- Python 3.8+
- ffmpeg (for audio processing)
Windows
venv\Scripts\activate
pip install -r requirements.txtMac/Linux
source venv/bin/activate
pip install -r requirements.txt- Go to the Google Cloud Console and create a new project.
- Navigate to APIs & Services > OAuth consent screen.
- Choose External, add your email, and configure the consent screen.
- Under APIs & Services, go to Library and enable the Google Drive API.
- Navigate to APIs & Services > Credentials and click Create Credentials > OAuth 2.0 Client IDs.
- Download the
credentials.jsonfile and place it in theauth/directory. - Change the folder name from your google drive in line 116 of
functions/download_drive_file.py
- Open the Notion Developer Console and create a new internal integration.
- Copy the integration secret token and paste it in the
auth/notion_credentials.pyfile. - Go to the Notion page where you want to store your notes, click Share, and copy the Database ID from the URL. Paste it in
auth/notion_credentials.py. - Modify the blocks in
functions/notion.pyto customize how notes are uploaded to your Notion workspace.
python main.pyYou can edit each step of the process in the 'main.py'-file. For example change the language or change the tool for the summary. You can also make an .exe desktop program with python pyinstaller. Please close the tkinter window after every comand to have the correct data of the database shown.
Audio file: "meeting_audio.wav"
Transcription: "The team discussed project deadlines and goals for the next quarter..." Summary: "Key points: Deadlines and goals were outlined for the upcoming quarter."
Contributions are welcome! Please fork this repository, make your changes, and submit a pull request.
To set up a development environment:
- Clone the repository.
- Create a virtual environment:
python -m venv venv
This project is licensed under the GNU GENERAL PUBLIC LICENSE. See the LICENSE file for details.