Giter Site home page Giter Site logo

tarsbase / podbeetle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agouil/podbeetle

0.0 1.0 0.0 828 KB

A simple Python Flask app to search for keywords in your favourite podcasts. -

Home Page: http://www.podbeetle.com

License: MIT License

Python 32.39% CSS 8.87% JavaScript 22.31% HTML 36.43%

podbeetle's Introduction

podbeetle

A simple website to search for keywords in your favourite podcasts. - http://www.podbeetle.com

Install

The web app is using the Python Flask framework for the website and the Deepgram API for the audio file transcription.

Requirements

Install all the requirements with:

pip install -r requirements.txt

You will need to have a Deepgram API account in order to be able to upload/index/transcribe audio files to their API.

Set the API key as an enviroment variable:

export DEEPGRAM_API_KEY=<api-key>

Database

This implementation is using a PostgreSQL database. You can install it from the website or you can use the official Docker image instead.

Alternatively, you can edit the database.py file and update the database engine to the one you'd like to use.

After installing and starting the database, set the following enviroment variables:

export DB_USER=<database-user>
export DB_PASS=<database-password>
export DB_HOST=<database-host>
export DB_PORT=<database-port>
export DB_NAME=<database-name>

Run the following script to initialize the database based on the models defined in models.py file:

python scripts.py init_db

Once the database is initialized then you can populate it with some data by running:

python scripts.py populate_db

Uploading files to Deepgram

After populating the database, run the following script to upload/index/trasncribe the audio files with the Deepgram API.

python scripts.py deepgram_upload

After this step is complete you'll be able to run the app and search for keywords in these podcasts.

Run the app

To run the app: python application.py

Contributing

Pull requests are welcome! ๐Ÿ’ช

Issues

To submit any issues, raise an issue through the Issues Page

License

MIT

podbeetle's People

Contributors

agouil avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.