Giter Club home page Giter Club logo

st-base64tobin's Introduction

Base64 to Binary File Converter

This Streamlit app converts base64 encoded text to a binary file. It provides a simple user interface where you can paste your base64 string, specify a filename, and download the resulting binary file.

Features

  • Base64 Text Input: Paste your base64 encoded text.
  • Filename Specification: Enter the desired filename and extension for the binary file.
  • Download Button: Download the converted binary file directly.

How to Use

  1. Prepare your base64 text: Ensure your text is base64 encoded.
  2. Copy-paste to the 'Base64 Text Input': Paste your base64 text into the provided text area.
  3. Click 'Submit' button: Submit the form to process the base64 text.
  4. Enter the filename and extension: Specify the desired filename for your binary file.
  5. Click 'Download' button: Download the resulting binary file.

Installation

To run this app locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/ahmad-alkadri/st-base64tobin.git
    cd st-base64tobin
  2. Install the required packages:

    pip install -r requirements.txt
  3. Run the Streamlit app:

    streamlit run app.py

The app should automatically open in your default web browser. If it doesn't, navigate to http://localhost:8501 to view the app.

Usage

Sidebar Instructions

The sidebar provides a brief guide on how to use the app:

  • Prepare your base64 text
  • Copy-paste it into the 'Base64 Text Input' area
  • Click the 'Submit' button
  • Enter the desired filename and extension
  • Click the 'Download' button to download the file

Error Handling

If the input text exceeds 20MB or if there's an error during the decoding process, appropriate error messages will be displayed.

Contributing

If you encounter any issues or have suggestions for improvements, feel free to raise an issue or submit a pull request. Contributions are welcome!

โญ Star this repository if you found it useful!

st-base64tobin's People

Contributors

ahmad-alkadri 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.