{"id":13841336,"url":"https://github.com/b2stry/mytwitter","last_synced_at":"2025-07-11T12:31:30.838Z","repository":{"id":175337881,"uuid":"102920868","full_name":"b2stry/mytwitter","owner":"b2stry","description":"一个模仿Twitter的Java Web项目（基于原生的Servlet）","archived":false,"fork":false,"pushed_at":"2019-06-21T15:23:57.000Z","size":21477,"stargazers_count":268,"open_issues_count":12,"forks_count":77,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-05T17:27:12.209Z","etag":null,"topics":["java","javaweb","servlet"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b2stry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-09-09T02:31:49.000Z","updated_at":"2024-07-29T11:26:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"aee94c67-ad8b-4c39-ba26-4bb69e32d53e","html_url":"https://github.com/b2stry/mytwitter","commit_stats":null,"previous_names":["b2stry/mytwitter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2stry%2Fmytwitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2stry%2Fmytwitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2stry%2Fmytwitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2stry%2Fmytwitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b2stry","download_url":"https://codeload.github.com/b2stry/mytwitter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225720400,"owners_count":17513596,"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":["java","javaweb","servlet"],"created_at":"2024-08-04T17:01:08.673Z","updated_at":"2024-11-21T11:30:42.284Z","avatar_url":"https://github.com/b2stry.png","language":"Java","readme":"\n                                                      _            _ _   _            \n                                                     | |          (_) | | |           \n                                      _ __ ___  _   _| |___      ___| |_| |_ ___ _ __ \n                                     | '_ ` _ \\| | | | __\\ \\ /\\ / / | __| __/ _ \\ '__|\n                                     | | | | | | |_| | |_ \\ V  V /| | |_| ||  __/ |   \n                                     |_| |_| |_|\\__, |\\__| \\_/\\_/ |_|\\__|\\__\\___|_|   \n                                                 __/ |                                \n                                                |___/                                 \n\n\n\n### 关于\n一个模仿Twitter的Java Web项目（基于原生的Servlet）\n\n### 使用说明\n```bash\n# 1.使用命令拉取代码：\n    git clone https://github.com/b2stry/mytwitter.git\n# 2.使用IDEA or Eclipse or STS导入本项目\n# 3.新建数据库create database mytwitter; 导入数据库文件mytwitter.sql\n# 4.修改com/twitter/util/DBUtil.java中的数据库链接和密码\n# 5.运行项目\n    1.直接在IDE中Run On Server运行\n    2.从IDE中导出一个war包放到tomcat的webapps目录下，启动tomcat\n# 6.浏览器访问：\n    http://127.0.0.1:8080 or other\n```\n\n### 环境\n* jdk：1.8 \n* tomcat：8.5\n* mysql：5.7\n\n\n### 界面展示\n\u003e 由于页面没有做响应式，推荐使用1366*768分辨率\n\n![首页](https://raw.githubusercontent.com/b2stry/imgrepo/master/index.png)\n\u003cbr\u003e\n\n![注册界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/register.png)\n\u003cbr\u003e\n\n\n![登录界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/login.png)\n\u003cbr\u003e\n\n![主界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/main.png)\n\u003cbr\u003e\n\n\n![发推](https://raw.githubusercontent.com/b2stry/imgrepo/master/tui.png)\n\u003cbr\u003e\n\n\n![通知界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/notify.png)\n\u003cbr\u003e\n\n![用户界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/self.png)\n\u003cbr\u003e\n\n\n![其他用户界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/other.png)\n\u003cbr\u003e\n\n![聊天界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/message.png)\n\u003cbr\u003e\n\n![查询用户界面](https://raw.githubusercontent.com/b2stry/imgrepo/master/seacher.png)\n\n","funding_links":[],"categories":["Java","Java (504)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb2stry%2Fmytwitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb2stry%2Fmytwitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb2stry%2Fmytwitter/lists"}