{"id":21233477,"url":"https://github.com/akiosarkiz/optimization_project","last_synced_at":"2025-10-14T17:53:07.019Z","repository":{"id":206845687,"uuid":"197272903","full_name":"AkioSarkiz/Optimization_Project","owner":"AkioSarkiz","description":"v1.0","archived":false,"fork":false,"pushed_at":"2019-09-29T00:38:45.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T18:36:35.314Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AkioSarkiz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-07-16T21:52:36.000Z","updated_at":"2020-01-04T01:19:29.000Z","dependencies_parsed_at":"2023-11-12T19:24:33.774Z","dependency_job_id":"e78d3306-9c2f-4ecf-aac2-72e587a08eb2","html_url":"https://github.com/AkioSarkiz/Optimization_Project","commit_stats":null,"previous_names":["akiosarkiz/optimization_project"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkioSarkiz%2FOptimization_Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkioSarkiz%2FOptimization_Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkioSarkiz%2FOptimization_Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkioSarkiz%2FOptimization_Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AkioSarkiz","download_url":"https://codeload.github.com/AkioSarkiz/Optimization_Project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243676710,"owners_count":20329431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T23:59:06.702Z","updated_at":"2025-10-14T17:53:01.987Z","avatar_url":"https://github.com/AkioSarkiz.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Optimization project\n\n![img perfomase project](https://i.ibb.co/ZW5cTPR/108.png)\n\n\nMy first project to java language. He helps people who write code to html, css, php. Dream everyone web-developers. You can write your plugin for need program language. It's easy.\n\n\n## Run application (files to dist folder)\n#### Case 1 (Windows, Linux, MacOS):\nCheck java virtual machine. Command to console:\n```\njava -version\n```\nIf have then run java class. Command to console:\n```\njava -jre Optimization_project.class\n```\n#### Case: 2 (Windows)\ndouble click to run_app.cmd\n\n------------\n\n## Write plugin\n- Check java class **Example.java** *(src/oprimization/project/optimization/Example.java)* - it's basic class language filter. Read comments and write code to special methods. You can see other class and get experience. Good luck.\n- When your class finish state you can include  him to application. Open file **ScanFolder.java** *(src/optimization/project/ScanFolder)* and find method **optimizationFiles**. Select type file and set filter.\n\n**Example:**\n```java\n    private void optimizationFiles() throws IOException{\n        \n        this.setValueProgressBar(70);\n        \n        for (Map.Entry entry : this.absolutePathToFiles.entrySet()) {\n            \n            String type = this.getFileExtension(new File(entry.getKey().toString()));\n            String pathResult = this.pathResult + entry.getValue().toString();\n            String pathSource = entry.getKey().toString();\n            \n            // print filePath to console\n            this.cnslPrint(pathSource, Color.LIGHT_GRAY);\n            \n            switch (type){\n                case \"your_type_file\":\n                    ClassYourFiler filter = new ClassYourFiler filter();\n                    filter.setPathSource(pathSource);\n                    filter.setPathResult(pathResult);\n                    filter.run();\n                    break;\n                case \"html\":\n                    HTML html = new HTML();\n                    html.setPathSource(pathSource);\n                    html.setPathResult(pathResult);\n                    html.run();\n                    break;\n                case \"php\":\n                    PHP php = new PHP();\n                    php.setPathSource(pathSource);\n                    php.setPathResult(pathResult);\n                    php.run();\n                    break;\n                case \"js\":\n                    JavaScript js = new JavaScript();\n                    js.setPathSource(pathSource);\n                    js.setPathResult(pathResult);\n                    js.run();\n                    break;\n                case \"json\":\n                    JSON json = new JSON();\n                    json.setPathSource(pathSource);\n                    json.setPathResult(pathResult);\n                    json.run();\n                    break;\n                case \"css\":\n                    CSS css = new CSS();\n                    css.setPathSource(pathSource);\n                    css.setPathResult(pathResult);\n                    css.run();\n                    break\n                default:\n                    Other other = new Other();\n                    other.setPathSource(pathSource);\n                    other.setPathResult(pathResult);\n                    other.run();\n            }\n        }\n        \n        this.setValueProgressBar(100);\n    }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiosarkiz%2Foptimization_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakiosarkiz%2Foptimization_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiosarkiz%2Foptimization_project/lists"}