NABEEL.

chakku

Framework-Agnostic CSS and JS bundler

1 stars
0 forks
Python

Chakku by Aliveforms - CSS and JS Bundler

An FOSS Tool by Aliveforms - https://aliveforms.com

Chakku is a simple tool for bundling and minifying CSS and JS files. It reads a configuration file to specify input files, types, and output file names. Chakku supports both local and online files.

Installation

  1. Clone the repository:
    
    git clone https://github.com/nabeelalihashmi/chakku.git

cd chakku


2. Install dependencies:

pip install beautifulsoup4 requests csscompressor jsmin


### Usage

1. Create a chakku.json file with your configuration:

[ { "files": ["path/to/style1.css", "path/to/style2.css"], "type": "css", "output": "dist/bundle.css" }, { "files": ["path/to/script1.js", "path/to/script2.js"], "type": "js", "output": "dist/bundle.js" } ]


2. Run Chakku:

python path/to/chakku.py path/to/chakku.json



### Configuration

The chakku.json file contains an array of configuration objects. Each object specifies:

- "files": An array of input file paths (local or online).
- "type": The file type ("css" or "js").
- "output": The output file path.

### Website

aliveforms.com/opensource#chakku.

### About Aliveforms
Aliveforms 
[https://aliveforms.com](https://aliveforms.com)
 is an online form builder to create forms, quizzes, surveys, polls, giveaway raffles and more. It works on all modern devices like phones, tables and computers. Aliveforms supports logic, themes, integrations with services like Google Sheets, Google Drive, Zapier, MailChimp, Pabbly Connect and more.

### License

This project is licensed under the MIT License.

Repository Info

  • Created Nov 21, 2023
  • Last Update Nov 21, 2023
  • Open Issues 0
  • Size 0.8 MB

Topics

bundler bundlers css cssbundler javascript javascript-bunlder javascriptbunlder js js-bundler jsbundler
style> .readme-content { line-height: 1.7; color: #cbd5e1; } .readme-content h1, .readme-content h2, .readme-content h3, .readme-content h4, .readme-content h5, .readme-content h6 { color: #f8fafc; margin-top: 2rem; margin-bottom: 1rem; font-weight: 700; } .readme-content h1:first-child { margin-top: 0; } .readme-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5rem 0; } .readme-content pre { background: #0f172a; padding: 1.5rem; border-radius: 8px; overflow-x: auto; border: 1px solid rgba(255,255,255,0.05); margin: 1.5rem 0; } .readme-content code { background: rgba(255,255,255,0.05); padding: 0.2rem 0.4rem; border-radius: 4px; font-size: 0.9em; color: #e2e8f0; } .readme-content pre code { background: transparent; padding: 0; color: inherit; } .readme-content a { color: #38bdf8; text-decoration: none; } .readme-content a:hover { text-decoration: underline; } .readme-content ul, .readme-content ol { margin-bottom: 1.5rem; } .readme-content li { margin-bottom: 0.5rem; } .readme-content blockquote { border-left: 4px solid #334155; padding-left: 1.5rem; margin: 1.5rem 0; font-style: italic; color: #94a3b8; } .readme-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; } .readme-content th, .readme-content td { padding: 0.75rem; border: 1px solid #334155; text-align: left; } .readme-content th { background: rgba(255,255,255,0.05); }