{"id":15957342,"url":"https://github.com/bpazy/emotion","last_synced_at":"2025-07-13T11:42:36.884Z","repository":{"id":91888927,"uuid":"82075992","full_name":"Bpazy/Emotion","owner":"Bpazy","description":"监控微博，分析情绪值","archived":false,"fork":false,"pushed_at":"2017-03-06T03:43:15.000Z","size":115,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T20:12:37.844Z","etag":null,"topics":["weibo"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/Bpazy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-15T15:34:49.000Z","updated_at":"2023-07-19T09:35:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3b4fbaa-1051-4775-9614-8514ad6e4ce0","html_url":"https://github.com/Bpazy/Emotion","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bpazy%2FEmotion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bpazy%2FEmotion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bpazy%2FEmotion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bpazy%2FEmotion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bpazy","download_url":"https://codeload.github.com/Bpazy/Emotion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240241803,"owners_count":19770463,"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":["weibo"],"created_at":"2024-10-07T13:41:23.661Z","updated_at":"2025-02-22T21:43:34.876Z","avatar_url":"https://github.com/Bpazy.png","language":"Java","readme":"Emotion\n=======\n监测某账号的微博情绪值。      \n(比如我女朋友发微博了，我这就收到邮件，接着该点赞点赞，该评论评论，该买买买就买买买)\n\u003cdiv  align=\"center\"\u003e    \n  \u003cimg src=\"https://github.com/Bpazy/utils/blob/master/pic/emotion_01.png\" width = \"300\" alt=\"preview\" align=center /\u003e\n\u003c/div\u003e\n\n首次运行会自动创建配置文件(emotion.json)和程序缓存(local.txt)，并会扫描一遍所有微博。        \n\u003e目前扫描微博调用的是[prprpr.me](http://prprpr.me)的微博RSS API, 感谢作者的无私奉献，但该API在最新一条微博的时间上有BUG，第一条微博的时间总是会自己跳动，所以后期本项目会改由自己写的微博RSS API。    \n\n配置文件可自动更新，扫描频率`1次/min`。     \n扫描微博频率`2次/min`。    \n\n配置文件格式:    \n```\n{\n  \"uid\": \"0000000000\", //被检测用户微博UID\n  \"filters\": [ //过滤词，微博含有过滤词将不参与分析\n    \"转发\"\n  ],\n  \"threshold\": 0, //阈值，负情绪阈值，为0则分析所有微博，并发送信息到邮箱\n  \"secretId\": \"Your secretId\", //腾讯文智申请的secretID\n  \"secretKey\": \"Your secretKey\", //腾讯文智申请的secretKey\n  \"emailHostName\": \"smtp.163.com\",\n  \"emailPort\": 465,\n  \"emailUserName\": \"YourUserName\", //发送邮件的账号\n  \"emailPassword\": \"YourPassword\", //发送邮件的账号的密码\n  \"emails\": [\n    \"example@example.com\" //接受邮件通知的账号\n  ],\n  \"mobiles\": [\n    \"12345678910\" //接受短信通知的手机号码，开发中\n  ]\n}\n```\n\n### 构建\n`gradlew fatJar` ，构建的包在`./build/libs/`下。    \n### 运行\n`java -jar ./build/libs/emotion-*.jar`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpazy%2Femotion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpazy%2Femotion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpazy%2Femotion/lists"}