{"id":16660456,"url":"https://github.com/killme2008/node-shorten","last_synced_at":"2025-07-22T14:33:40.903Z","repository":{"id":5639368,"uuid":"6847778","full_name":"killme2008/node-shorten","owner":"killme2008","description":"A url shorten web site in node.js","archived":false,"fork":false,"pushed_at":"2017-11-10T01:47:45.000Z","size":105,"stargazers_count":27,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-03T19:20:06.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/killme2008.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-25T05:14:36.000Z","updated_at":"2024-08-26T06:46:01.000Z","dependencies_parsed_at":"2022-08-24T20:51:48.692Z","dependency_job_id":null,"html_url":"https://github.com/killme2008/node-shorten","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/killme2008/node-shorten","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killme2008%2Fnode-shorten","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killme2008%2Fnode-shorten/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killme2008%2Fnode-shorten/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killme2008%2Fnode-shorten/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/killme2008","download_url":"https://codeload.github.com/killme2008/node-shorten/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killme2008%2Fnode-shorten/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266510653,"owners_count":23940689,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-12T10:29:20.858Z","updated_at":"2025-07-22T14:33:40.867Z","avatar_url":"https://github.com/killme2008.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\n\nA URL shorten web site powered by Node.js and Express.js.\n\n## Setup\n\nFirst, I am using MySQL (data storage) and Redis (cache), so you have to configure MySQL/Redis in `config.js`:\n\n     exports.config = {\n      \tmysqlHost:\"localhost\",\n    \tmysqlUser:\"root\",\n    \tmysqlPassword:\"\",\n    \tmysqlDB:\"shorten\",\n\t\t\n    \tredisHost:'localhost',\n\t    redisPort:6379,\n\n\t    site:'http://localhost:3000',\n    \tlinkMinLength:10,\n    \tlinkBits:6\n    }\n\t\nIt includes the user, password, database, Redis host/port, etc. Create the table using `sql/st_links.sql` before startup:\n\n     msyql\u003e source st_links.sql;\n\t \nSecond, you must install [Node.js](http://nodejs.org), then install Node modules by:\n\n\t sudo npm install -d\n\nLast, startup the HTTP server:\n\n\t sh start.sh\n\nThe site is online at `http://localhost:3000`.\n\n## Chrome extension\n\nYou can install the chrome extension at `extensions/chrome`. It will use the API to short the URL in the current Chrome tab address bar.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillme2008%2Fnode-shorten","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkillme2008%2Fnode-shorten","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillme2008%2Fnode-shorten/lists"}