Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chloelavrat/nonogramqr
Solve, Scan and Discover: Turn Text into a nonogram Puzzle!
https://github.com/chloelavrat/nonogramqr
nonogram nonogram-generator python qrcode qrcode-generator reddit
Last synced: about 1 month ago
JSON representation
Solve, Scan and Discover: Turn Text into a nonogram Puzzle!
- Host: GitHub
- URL: https://github.com/chloelavrat/nonogramqr
- Owner: chloelavrat
- License: mit
- Created: 2021-03-09T17:57:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-05T12:01:06.000Z (5 months ago)
- Last Synced: 2024-08-05T13:38:50.047Z (5 months ago)
- Topics: nonogram, nonogram-generator, python, qrcode, qrcode-generator, reddit
- Language: Python
- Homepage:
- Size: 2.8 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Online App
•
Python API
•
DemoNonogramQR is an innovative application that seamlessly integrates the challenge of nonograms with the functionality of QR codes. This app transforms your messages into engaging puzzles, providing a unique and interactive way to reveal hidden information.
## How It Works
- **Message Encoding:** Enter your message or URL into the app or using the python API.
- **QR Code Generation:** The message is encoded into an hidden QR code.
- **Nonogram Creation:** The QR code is then converted into a nonogram pdf puzzle.
- **Puzzle Solving:** Solve the nonogram to reveal the QR code.
- **Scanning:** Use the app to scan the completed nonogram and access the original message or website.## Features
- **Customizable Messages:** Encode any string of less than 25 caracter into a NonogramQR.
- **Puzzle Difficulty:** The complexity of the nonogram adjusts based on the length of the message.
- **Interactive Experience:** Engage with both puzzle-solving and QR code scanning in one seamless process.
- **User-Friendly Interface:** Simple and intuitive design for ease of use with online app.## Run app locally
If you want to run the PCB Lullaby streamlit app locally. Two solutions are possible:
1. **Run the app directly in a virtual environnement**
clone repository:
```
git clone https://github.com/azerty-labs/NonogramQR.git
cd NonogramQR
```
Create, activate and install your environnement:
```
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```
Run the app using streamlit:
```
streamlit run streamlit-app.py
```
2. **Run the app using docker**Build the `nonogram-qr` docker container:
```
docker build -t nonogram-qr .
````
Run the container at a specified port (here 8501)
```
docker run -p 8501:8501 nonogram-qr
```
Go to your web browser and access [localhost:8501](http://localhost:8501)
## Python APIIn order to use the NonogramQR code please do the following:
```
git clone https://github.com/chloelavrat/NonogramQR.git
cd NonogramQR/
python -m venv venv
source ./venv/bin/activate
python pip install -r requirements.txt
python NonogramQR.py "My message to encode"
```
Then you can start using the code to generate your NonogramQR PDF.
```
$ python NonogramQR.py -h
usage: NonogramQR.py [-h] [--output OUTPUT] [message ...]Convert a string into a QR code and then into a nonogram PDF.
positional arguments:
message Message to encodeoptions:
-h, --help show this help message and exit
--output OUTPUT Output PDF file nameHave fun!
```
## ContributingThe NonogramQR project is an open-source project, and contributions are always welcome. If you would like to contribute to the project, you can do so by submitting a pull request or by creating an issue on the project's GitHub page.
## License
The NonogramQR project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.