Croisswapp is a web application that allows users to convert code snippets from one format to another. It currently supports conversion between Jupyter Notebook ipynb files to Python files and JSX to JSON files. We are also planning to add support for HTML and JSX conversion in the future.
To get started with Croisswapp, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/ahmad1702/croisswapp.git
-
Open the Cloned Repository's folder:
cd croisswapp
-
Install the necessary dependencies by running the following command in your terminal:
npm install
-
Set up your environment variables by creating a
.env
file and adding the required fields which can be found in the.env.example
file (If you want you can just duplicate the.env.example
file and rename it to.env
). -
Perform the Required Database migrations by running the following command:
npx prisma db push
-
Start the development server by running the following command:
npm run dev
-
Open your browser and navigate to http://localhost:3000.
Using Croisswapp is simple:
- Choose the format you want to convert from using the dropdown menu.
- Paste your code snippet into the input area.
- Click the "Convert" button.
- Your converted code will appear in the output area.
You can also download your converted code as a file by clicking the "Download" button.
Currently, Croisswapp supports conversion between the following formats:
- Jupyter Notebook ipynb files to Python files
- JSX to JSON files
We are constantly working to add support for more formats, so stay tuned!
Croisswapp was built using the following technologies:
- Next.js
- Prisma
- Tailwind CSS
- Next-Auth
We welcome contributions from anyone who is interested in improving Croisswapp! To contribute, follow these steps:
- Fork this repository.
- Create a new branch for your changes.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request to merge your changes into the main repository.
Croisswapp was created by Ahmad Sandid