Skip to content

Alpha Text is an open-source text manipulation application that aims to simplify the process of formatting text in various ways. We believe in the power of collaboration and welcome contributors to join us in improving and expanding Alpha Text.

Notifications You must be signed in to change notification settings

NovalGreat/AlphaText

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlphaText - Text Manipulator App

Description

AlphaText is a JavaScript + React web application that empowers users to manipulate text in various formats. The front end is built with React, providing an interactive user interface, while the logical end, powered by JavaScript, handles the text manipulations. Explore the different text formatting options seamlessly with this easy-to-use application.

Table of Contents

  • Installation
  • Usage
  • JavaScript Logics
  • Frontend
  • Contributing

Installation

To install and run AlphaText, follow these steps:

  • Clone the repository:

      git clone https://github.com/gagan257/AlphaText.git
    
  • Navigate to the project directory:

      cd AlphaText
    
  • Install dependencies for the frontend:

      npm install
    
  • Run the frontend server:

      npm run start
    

Usage

  • Open the 'index.html' file in your preferred web browser.
  • Enter your text in the input field.
  • Choose the desired text manipulation option from the menu.
  • Click the button to see the formatted text.

Supported Text Manipulations with JS Logics :

  • Lowercase

      setText(text.toLowerCase());
    
  • UpperCase

      setText(text.toUpperCase());
    
  • Camel case

      let newText = text.split(" ");
      for (let i = 0; i < newText.length; i++) {
          newText[i] = newText[i].charAt(0).toUpperCase() + newText[i].slice(1);
      }
      setText(newText.join(" "));
    
  • Snake Case

      let newText = text.split(" ");
      for (let i = 0; i < newText.length; i++) {
          newText[i] = newText[i].toLowerCase();
      }
      setText(newText.join("_"));
    
  • Kebab-Case

      let newText = text.split(" ");
      for (let i = 0; i < newText.length; i++) {
          newText[i] = newText[i].toLowerCase();
      }
      setText(newText.join("-"));
    
  • Remove Extra Spaces

      let newText = text.split(/[ ]+/);
          setText(newText.join(" "));
    

Frontend

The frontend of AlphaText is built with React, a popular JavaScript library for building user interfaces. Below, you'll find an overview of the frontend structure and some key components:

    |-- AlphaText/
    |   |-- public/
    |   |-- src/
    |   |   |-- components/
    |   |   |   |-- Developer.js
    |   |   |   |-- Footer.js
    |   |   |   |-- Navbar.js
    |   |   |   |-- TextForm.js
    |   |   |-- App.css
    |   |   |-- App.js
    |   |   |-- App.test.js
    |   |   |-- index.js
    |   |   |--
    |   |-- package.json
    |   |-- ...

Technologies Used

React: The frontend is built using React, allowing for a modular and efficient UI development.

Bootstrap: Bootstrap components are utilized for a clean and responsive design, ensuring a user-friendly experience.

React Router DOM Allows to make single page Applications.

Contributions

-Feel free to contribute to the development of AlphaText by submitting bug reports, feature requests, or code contributions.

Our Contributors :

Gagan-image
Gagan Arora

Admin
Krishna-image
Krishna Rajput

Documentation & Manager
Noval-image
NovalGreat

Tester

About

Alpha Text is an open-source text manipulation application that aims to simplify the process of formatting text in various ways. We believe in the power of collaboration and welcome contributors to join us in improving and expanding Alpha Text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.9%
  • HTML 15.4%
  • CSS 2.7%