An open API service indexing awesome lists of open source software.

https://github.com/abrarshakhi/boolean-simplify

[UNDER DEVELOPMENT] A NextJS application for converting truth tables into boolean equations using Karnaugh Map.
https://github.com/abrarshakhi/boolean-simplify

kmap kmap-solver nextjs

Last synced: about 2 months ago
JSON representation

[UNDER DEVELOPMENT] A NextJS application for converting truth tables into boolean equations using Karnaugh Map.

Awesome Lists containing this project

README

          

# Boolean Simplify

### Boolean Equation Generator

A web application built with Next.js for converting truth tables into boolean equations. It uses Karnaugh Map to generate the equation.

## Deployment Link

Boolean Simplify Logo [Click here to visit the deployed application](https://boolean-simplify.vercel.app/)

[![GitHub](https://img.shields.io/github/stars/abrarshakhi/boolean-simplify?style=social)](https://github.com/abrarshakhi/boolean-simplify)
[![GitHub issues](https://img.shields.io/github/issues/abrarshakhi/boolean-simplify)](https://github.com/abrarshakhi/boolean-simplify/issues)
[![GitHub license](https://img.shields.io/github/license/abrarshakhi/boolean-simplify)](https://github.com/abrarshakhi/boolean-simplify/blob/main/LICENSE)
[![Vercel](https://vercelbadge.vercel.app/api/abrartwo/boolean-simplify)](https://boolean-simplify.vercel.app/)
[![GitHub contributors](https://img.shields.io/github/contributors/abrarshakhi/boolean-simplify)](https://github.com/abrarshakhi/boolean-simplify/graphs/contributors)

## Demo

Here's a quick demonstration of how Boolean Simplify works:

![demo](public/demo.gif)

## Features

- Convert truth tables to boolean equations using Karnaugh Map method
- Support for multiple input and output variables
- Real-time equation generation
- Dark and light mode themes
- User-friendly interface
- Responsive design for all devices

## Built With

![Next.js](https://img.shields.io/badge/Next.js-000000?style=for-the-badge&logo=next.js&logoColor=white)
![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)
![Vercel](https://img.shields.io/badge/Vercel-000000?style=for-the-badge&logo=vercel&logoColor=white)

## Getting Started

### Prerequisites

- Node.js (version 18 or newer)
- Yarn
- TypeScript

### Quick Example

1. Input your truth table:
- For a 2-input, 1-output system:
```
A B | Y
0 0 | 1
0 1 | 0
1 0 | 1
1 1 | 1
```
2. Click "Generate" to get the simplified boolean equation
3. The result will be: `Y = A + B'`

### Setup Instructions

1. Clone the repository:

```bash
git clone https://github.com/yourusername/boolean-simplify.git
cd boolean-simplify
```

2. Install dependencies:

```bash
yarn install
```

3. Start the development server:

```bash
yarn dev
```

4. Access the application at [http://localhost:3000](http://localhost:3000)

## Usage

1. Specify the number of inputs and outputs
2. Fill in the truth table values
3. Click generate to compute the boolean equation
4. Copy the generated equation as needed

## Contributing

We welcome contributions to improve this project. Please follow these steps:

1. Fork the repository
2. Create a feature branch (`git checkout -b feature/YourFeature`)
3. Commit your changes (`git commit -m 'Add YourFeature'`)
4. Push to the branch (`git push origin feature/YourFeature`)
5. Open a Pull Request

## License

This project is licensed under the Apache License 2.0 - which means you can use, modify, and distribute it, but you need to include the original copyright notice and state significant changes. Check out the [LICENSE](LICENSE) file for all the legal details.