{"id":13928803,"url":"https://github.com/hirako2000/gisteam","last_synced_at":"2025-09-10T20:44:11.909Z","repository":{"id":47380330,"uuid":"99442452","full_name":"hirako2000/gisteam","owner":"hirako2000","description":"⚡️ Fast server side rendering code beautifier, minifier, pastebin, encoder/decoder and hash generator ⚡️","archived":false,"fork":false,"pushed_at":"2025-01-16T09:41:03.000Z","size":1052,"stargazers_count":18,"open_issues_count":11,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T06:45:41.739Z","etag":null,"topics":["base64","beautifier","encoder-decoder","formatter","hash","koa2","lasso","marko","markojs","minifier","minifies","mongodb","pastebin","url-encoder"],"latest_commit_sha":null,"homepage":"https://gisteam.herokuapp.com","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hirako2000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-08-05T19:02:31.000Z","updated_at":"2022-12-01T22:53:07.000Z","dependencies_parsed_at":"2023-11-27T15:42:13.106Z","dependency_job_id":null,"html_url":"https://github.com/hirako2000/gisteam","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirako2000%2Fgisteam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirako2000%2Fgisteam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirako2000%2Fgisteam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirako2000%2Fgisteam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirako2000","download_url":"https://codeload.github.com/hirako2000/gisteam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245381558,"owners_count":20606054,"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":["base64","beautifier","encoder-decoder","formatter","hash","koa2","lasso","marko","markojs","minifier","minifies","mongodb","pastebin","url-encoder"],"created_at":"2024-08-07T18:01:47.257Z","updated_at":"2025-03-25T01:31:20.972Z","avatar_url":"https://github.com/hirako2000.png","language":"CSS","funding_links":[],"categories":["mongodb"],"sub_categories":[],"readme":"[![Codacy Badge](https://api.codacy.com/project/badge/Grade/c33fcfaa0237435e84dc11ac44ea372c)](https://app.codacy.com/app/hirako2000/gisteam?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=hirako2000/gisteam\u0026utm_campaign=Badge_Grade_Dashboard)\n[![uptime](https://img.shields.io/uptimerobot/ratio/m781182158-18096b64a2b89e307dcc0a30)](https://img.shields.io/uptimerobot/ratio/m781182158-18096b64a2b89e307dcc0a30)\n[![Build Status](https://travis-ci.org/hirako2000/gisteam.svg?branch=master)](https://travis-ci.org/hirako2000/gisteam)\n[![Dependency Status](https://david-dm.org/hirako2000/gisteam.svg?style=flat)](https://david-dm.org/hirako2000/gisteam)\n[![devDependency Status](https://david-dm.org/hirako2000/gisteam/dev-status.svg)](https://david-dm.org/hirako2000/gisteam#info=devDependencies)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/hirako2000/gisteam/blob/master/LICENSE)\n\n# GisTeam - Minimalist web app to minify/beautify code, store, hash and encode/decode text\n\n[Live Demo](https://gisteam.herokuapp.com/)\n\n![demo](https://github.com/hirako2000/gisteam/blob/master/gisteam-demo.gif?raw=true)\n\n## Features\n- 💫 Beautifier - Javascript/JSON, XML, HTML, CSS, SQL\n- 💨 Minifier - Javascript, JSON, XML, CSS, SQL\n- 🔑 Hash - Hash strings with md5 and sha1, sha256, sha512\n- 📋 Paste - Pastebin-like feature, with expiry, download and raw view\n- ⟿ Encode - URL, Base64\n- ⟵ Decode - URL Encode, Base64\n\n### Techy bits\n- production ready with properly minified, compressed and bundled assets\n- pm2 to manage and scale node processes\n\n## Roadmap\n- Time manipulation/converter\n- Encrypt Pastes\n\n### Techy bits\n- Dockerize\n- Add unit tests\n- Benchmark\n\n## Quickstart\n\n### Prerequisites\n- Node.js \n- MongoDB\n\n### Fork/clone/download this repo\n\n### Install dependencies\n\n```bash\nnpm install\n```\n\n### Build the sources\n\n```bash\nnpm run build\n```\n\nThis transpiles *.js files, and copies other files (css/etc), from /src to /lib\n\nIt uses `gulp build` task as defined in the \u003ca href='gulpfile.js'\u003e`.gulpfile`\u003c/a\u003e\n\n\nWhile developing, use:\n\n```bash\nnpm run gulp -- build watch\n```\n\nThis builds the project and then watches /src for file changes and compiles only the changed files.\n\nYou can let this run in the background while developing. (you'll still need to restart the server for certain changes to take effect.)\n\n### Run the server\n\n```bash\nnpm run start\n\n```\n\n\n## Libraries used\n\n### Koa 2\n\nKoa is an excellent minimalist server framework on node.\n\n\u003e[Koa] is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs.\n\n### Babel\n\n\u003e[Babel] is a JavaScript compiler. es6/7 is great.\n\n\u003e[ECMAScript 2015] is the newest version of the ECMAScript standard.\n\nBabel transpiles new ES2015 (and ES2016) syntax into ES5 valid code.\n\n### Lasso\n\n\u003e[Lasso.js][lasso] is an open source Node.js-style JavaScript module bundler from eBay. It also provides first-level support for optimally delivering JavaScript, CSS, images and other assets to the browser.\n\nIt's like Webpack + Browserify/jspm/RequireJS\n\n### Marko\n\n\u003e[Marko] is a [*really* fast][marko-benchmarks] and lightweight HTML-based templating engine that compiles templates to CommonJS modules and supports streaming, async rendering and custom tags.\n\n### MongoDB/Mongoose\n\n\u003e Ideal for fast development, using [mongoose][mongoose]\n\n\n## Usage\n\n### Directory structure\n\n    │   package.json\n    │   gulpfile.js\n    │   .babelrc\n    │   .gitignore\n    │   README.md\n    │\n    ├───src\n    │   │\n    │   │   index.js   // basic initial configuration (babel, sourcemaps)\n    │   │\n    │   │   server.js  // Koa server and configuration\n    │   │              // exports the koa `app` which can be required elsewhere\n    │   │              // imports /routes/xxx\n    │   │\n    │   ├───routes\n    │   │   │   layout.marko // basic layout\n    │   │   │\n    │   │   ├───beautify\n    │   │   │       index.js\n    │   │   │       template.marko\n    │   │   ├───hash\n    │   │   │       index.js\n    │   │   │       template.marko\n    │   │   ├───home\n    │   │   │       index.js       // route logic\n    │   │   │       template.marko // marko template (extends from layout.marko)\n    │   │   │       widget.js      // marko-widget (better client-side javascripting)\n    │   │   ├───minify\n    │   │   │       index.js\n    │   │   │       template.marko\n    │   │   ├───paste\n    │   │   │       index.js\n    │   │   │       template.marko\n    │   │   │       otemplate.marko // this one has a specific output template\n    │   │   │   browser.json // for lasso\n    │   │   │\n    │   │   └───...\n    │   │\n    │   ├───db\n    │   │   └───... // db schema for Paste\n    │   └───public\n    │       └───... // public resources exposed as static files\n    │\n    │\n    ├───lib (auto-generate)\n    │   │  // /src gets compiled here, the project mainly runs from here\n    │   │  // .js files from /src gets compiled to .js files here\n    │   │  // other than .js files get copied as is (css, fonts etc)\n    │   │\n    │   ├───public\n    │   │   │\n    │   │   └────lasso\n    │   │        └────...  // lasso related bundled files are auto-generated here\n    │   │\n    │   └───... whole lib is .gitignore’d as it's essentially just a dumplicate of /src\n    │\n    ├───.cache (auto-generated, lasso related, .gitignore’d)\n    │\n    └───node_modules // (.gitignore’d)\n\n\n### \u003ca href='src/index.js'\u003e`src/index.js`\u003c/a\u003e\n\nThis file sets up preliminaries:\n\n  * babel\n  * sourcemap-support\n  * [Bluebird] as the  default promise library\n\n### \u003ca href='src/server.js'\u003e`src/server.js`\u003c/a\u003e\n\nSets up Koa 2 and most used modules\n\n  * [Static][koa-static] files server from \u003ca href='public'\u003e`/public`\u003c/a\u003e\n  * [Body Parser][koa-better-body] (for form submission/file updloads)\n  * [Marko] \\(Templating Language)\n  * [Lasso] \\(Bundler)\n\n### Route handling (\u003ca href='src/routes'\u003e`src/routes`\u003c/a\u003e)\n\n[Koa]: http://koajs.com/\n[Koa 2]: https://github.com/koajs/koa/issues/533\n\n[Lasso]: https://github.com/lasso-js/lasso\n\n[Marko]: http://markojs.com\n[marko-benchmarks]: https://github.com/marko-js/templating-\n\n[Babel]: http://babeljs.io\n[ECMAScript 2015]: http://babeljs.io/docs/learn-es2015\n\n[gulp]: http://gulpjs.com\n\n[node-chakra]: https://github.com/nodejs/node-chakracore\n\n\n[install Gulp 4]: http://demisx.github.io/gulp4/2015/01/15/install-gulp4.html\n\n[Bluebird]: http://bluebirdjs.com\n\n[app-module-path]: https://github.com/patrick-steele-idem/app-module-path-node\n\n[koa-static]: https://github.com/koajs/static\n[koa-better-body]: https://github.com/tunnckoCore/koa-better-body\n\n[mongoose]: http://mongoosejs.com/\n\n[livedemo]: https://gisteam.herokuapp.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirako2000%2Fgisteam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirako2000%2Fgisteam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirako2000%2Fgisteam/lists"}