to-dot-lottie
A CLI tool to bulk convert all
.json
lottie files to.lottie
format
? Install
sudo npm install -g to-dot-lottie
✨Demo
❯ to-dot-lottie
➡️ Initializing...
⚠️ Not a lottie JSON. Skipping ../core/string-store/src/main/res/raw/default_strings.json
------------------------------
? Uploading 'skip.json...'
✅ Uploaded -> https://assets3.lottiefiles.com/temp_editor_files/lf30_editor_555.json
? Converting 'https://assets3.lottiefiles.com/temp_editor_files/lf30_editor_555.json'...
✅ Converted -> https://lottie-editor-api-temp.s3.amazonaws.com/20230125-205201lf30_editor_123.lottie
⬇️ Downloading...
✅ Downloaded -> ../core/common-ui/src/main/res/raw/skip.lottie
------------------------------
? Uploading 'rewind.json...'
✅ Uploaded -> https://assets7.lottiefiles.com/temp_editor_files/lf30_editor_444.json
? Converting 'https://assets7.lottiefiles.com/temp_editor_files/lf30_editor_444.json'...
✅ Converted -> https://lottie-editor-api-temp.s3.amazonaws.com/20230125-205204lf30_editor_456.lottie
⬇️ Downloading...
✅ Downloaded -> ../core/common-ui/src/main/res/raw/rewind.lottie
------------------------------
? Uploading 'subscription_confirmation.json...'
✅ Uploaded -> https://assets5.lottiefiles.com/temp_editor_files/lf30_editor_222.json
? Converting 'https://assets5.lottiefiles.com/temp_editor_files/lf30_editor_222.json'...
✅ Converted -> https://lottie-editor-api-temp.s3.amazonaws.com/20230125-205206lf30_editor_789.lottie
⬇️ Downloading...
✅ Downloaded -> ../core/common-ui/src/main/res/raw/subscription_confirmation.lottie
------------------------------
✅ Done
✍️ Author
? theapache64
- Twitter: @theapache64
- Email: [email protected]
Feel free to ping me ?
? Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Open an issue first to discuss what you would like to change.
- Fork the Project
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a pull request
Please make sure to update tests as appropriate.
❤ Show your support
Give a ⭐️ if this project helped you!
☑️ TODO
- Task 1
? License
Copyright © 2023 - theapache64
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This README was generated by readgen ❤