Git Product home page Git Product logo

quotegen's Introduction

Random Quote App

This is a simple application that generates random quotes and allows you to customize the display of the quotes. It uses the PyQt6 library for the graphical user interface and SQLite for data storage.

Features

  • Generate random quotes with author information.
  • Translate quotes to different languages.
  • Customize the font style and alignment of the quotes.
  • Copy quotes to the clipboard.

Requirements

  • Python 3.x

  • PyQt6 library

  • SQLite

  • pip install pyperclip

  • pip install tempfile

  • pip install pyttsx3

  • pip install gtts

  • pip install playsound

  • pip install PyQt6

  • pip install googletrans

Installation

  1. Clone the repository or download the source code files.

  2. Install the required dependencies using pip:

  3. Ensure that the db.sqlite file is present in the same directory as the main.py file. If not, create an empty SQLite database file named db.sqlite.

Usage

To run the application, execute the following command:

  • python main.py

The main window of the application will open, displaying a random quote and author information. You can click the "Generate" button to generate a new random quote.

Customization Options

  • Font Style: Use the "Select Font" button to choose a custom font for the quote display.

  • Text Style: Select the desired text style (Normal, Italic, or Bold) from the corresponding drop-down menu.

  • Text Alignment: Choose the alignment of the quote text (Left, Center, or Right) from the corresponding drop-down menu.

Translation

You can select a language from the "Language" drop-down menu to translate the generated quote into that language. The translation is done using the Google Translate service.

Copying Quotes

To copy a quote to the clipboard, click the "Copy" button. The quote will be copied in plain text format and can be pasted into other applications.

Contributing

Contributions to this project are welcome. If you encounter any issues or have suggestions for improvements, please create a new issue or submit a pull request.

License

This project has no licenese & is Copyright Protected By Github.

quotegen's People

Contributors

jumbubly 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.