Giter Site home page Giter Site logo

gauravwalia19 / minfile Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 248 KB

It will generate the min file for you for example .css to .min.css

License: MIT License

Shell 7.97% C 82.61% HTML 1.06% JavaScript 0.65% CSS 0.22% C++ 3.12% C# 0.45% Java 0.24% PowerShell 3.53% PHP 0.04% TypeScript 0.07% Smalltalk 0.04%
minfile c html css compression-library compression-application js compression compression-implementations

minfile's Introduction

MINFILE

It is a cli application to generate min file size easily. For example file.css to file.min.css.

Build Status

DEPENDENCIES

  • gcc compiler
  • bash/powershell shell

PREQUESTIES

  • Must have little CLI usage experience (Beginner level)
  • Know how to run bash/powershell scripts
  • Compiling and running c programs

FILETYPE SUPPORT

  • css
  • scss
  • json
  • html (alpha)
  • js (alpha)
  • c (alpha)
  • c++ (alpha)
  • c# (partially supported)
  • java (partially supported)

BUILD

LINUX

For building in your linux distro use

bash build.bash

Select Y for release/using new update. Now you have fresh binary in bin folder for your distro.

WINDOWS

For building in your Windows use

pwsh build.ps1

Select Y for release/using new update.Now you have fresh binary in bin folder for your Windows.

TESTING

Feel cool because you can test our application also. For that follow below steps

  • Open terminal or cmd in repo root folder
  • Go to test directory and see test output using commands:
  • LINUX
cd test             # Navigate to test directory
bash test.bash      # running bash script
  • WINDOWS
Set-Location test   # Navigate to test directory
pwsh test.ps1       # running powershell script
  • Enter the filename to convert. Now you can see converted min file in mfiles/tested directory.

USAGE

Please copy this binary on same location as that of your file which you want to convert.For right use copy your file to bin folder.

Navigate to bin directory

Using c binary

./minfile filename.css

Using bash/powershell script

bash minfile.bash
pwsh minfile.ps1

You will see new file of name filename.min.css present in mfiles folder. Open that file and see the output.

Documentation

Releasing soon...

LICENSE

MIT License

Šī¸ 2019 Gaurav Walia

minfile's People

Contributors

gauravwalia19 avatar

Stargazers

 avatar  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.