Giter VIP home page Giter VIP logo

random_text_generator-brython's Introduction

Random Text Generator using Brython

GitHub issues GitHub repo size GitHub code size in bytes GitHub license Website GitHub Hacktoberfest combined status

This program generates a random (usually non-readable, meaningless) text for n number of paragraphs where n is taken as the user's input. It is capped to generate 1-100 random paragraphs, to keep the performance significant.

๐Ÿš€ Check out the live tool here.

Table of Contents

About

This program executes Browser Python (Brython). Wait, what? What is meant by โ€œBrowser Pythonโ€?
It means that the Random Text is generated with a simple Python script (also using random module to ensure fresh, distinguished and unidentical result on every load), and the generated content is loaded on webpage using Brython.

Usage

Requirement - Python 3x should be installed, for running localhost

The code can be run through localhost. Assuming that Python (Python v3, specifically) is already configured on your system, one simple way to setup a localhost would be by using the Command Line/Command Prompt in the same directory, and entering:

python -m http.server [port]

where using a custom port number is optional, as port number defaults to 8000 with http.server. More about it can be found here.

โ–ถ For Python 2 supported terminals, SimpleHTTPServer can be used instead.

Note: To launch the code in local machine, index.html file cannot be directly opened, as the brython file may not get executed successfully while opening the index file from the repository source folder (with "IOError: can't load external script ... (AJAX calls not supported with protocol file:///" ). So, localhost server setup is preferred.

Technology Stack

The following tools and technology are currently in use here.

  1. Brython
  2. Python
  3. HTML
  4. CSS

Contributing

Your contributions are always welcome! ๐Ÿ˜€
Please take a look at our contributing guidelines if you're interested in helping towards making the repository better!

Thanks to GitHub CodeSpaces, you can start editing the source files here in Visual Studio Code in the browser under github.dev domain, by simply pressing '.' (dot) key in your keyboard.

Every change counts! ๐Ÿ”„

random_text_generator-brython's People

Contributors

aagam-jain-113 avatar deepu14d avatar git-harshit avatar nikkuv avatar panagiotisanthoulis avatar smollet777 avatar thesauravkarmakar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

random_text_generator-brython's Issues

Documentation can be further added and improved

The current documentation for this repository in README.md and Contributing.md files is currently limited, and has a vast scope of additions, modifications and further improvisations. The documentation improvements would allow addressing as well as covering entire details for later reference. Improvements, complaints, translations as well as suggestions for the same are welcome.

Some reformattings, visual tweaks, content translation (preferrably in a new file), and additions
of new but relevant badges and emojis are also among a lot of doables for MarkDown files in the repository.

Alongside, any additional documentation (example: Code of Conduct), if needed, can be proposed as new MarkDown (*.md) files.

Website Interface (UI/UX) and available features could be further improved

The current Random Text Generator interface can be improvised to enhance the User Interface and User Experience (UI/UX) of the tool. It could also include options to set output customizations, offer additional features like "Better way to take input for the desired number of paragraphs", "Dark Mode", "View/Theme Customisation Toolbar", "download (or save as txt/pdf) or share the generated text", "Generate Random Number of Random Text Paragraphs", and many more.

Any additional ideas are also welcome.

Lack of API

Lack of API
mobile app could be possible if there was Api

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.