Skip to content

Commit

Permalink
Update: README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
howie6879 committed Dec 29, 2021
1 parent 7c60b1d commit 4cf23e2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .files/images/2c_process.dio
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<mxfile host="pi.com" modified="2021-04-09T14:14:32.777Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36 Edg/89.0.774.68" etag="jOKwOQ9hxVJXT-_dVsci" version="14.2.6" type="embed"><diagram id="ifRbPHD-4oiEYmhE_bd_" name="Page-1"><mxGraphModel dx="1940" dy="969" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="12" style="rounded=0;html=1;jettySize=auto;orthogonalLoop=1;fontColor=#FFFFFF;entryX=0;entryY=0.5;entryDx=0;entryDy=0;edgeStyle=orthogonalEdgeStyle;curved=1;" parent="1" source="4" target="14" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="4" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;glass=0;comic=1;" parent="1" vertex="1"><mxGeometry x="10" y="349" width="230" height="160" as="geometry"/></mxCell><mxCell id="5" value="&lt;font style=&quot;font-size: 15px&quot;&gt;&lt;b&gt;采集器&lt;/b&gt;&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#F8CECC;comic=1;" parent="1" vertex="1"><mxGeometry x="10" y="349" width="230" height="40" as="geometry"/></mxCell><mxCell id="6" value="&lt;font style=&quot;font-size: 12px&quot;&gt;公众号&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#C3ABD0;comic=1;" parent="1" vertex="1"><mxGeometry x="30" y="429" width="80" height="40" as="geometry"/></mxCell><mxCell id="7" value="&lt;font style=&quot;font-size: 12px&quot;&gt;RSS&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#C3ABD0;comic=1;" parent="1" vertex="1"><mxGeometry x="140" y="429" width="80" height="40" as="geometry"/></mxCell><mxCell id="8" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;glass=0;comic=1;" parent="1" vertex="1"><mxGeometry x="10" y="569" width="230" height="160" as="geometry"/></mxCell><mxCell id="9" value="&lt;span style=&quot;font-size: 15px&quot;&gt;&lt;b&gt;分类器&lt;/b&gt;&lt;/span&gt;" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#FFB570;comic=1;" parent="1" vertex="1"><mxGeometry x="10" y="569" width="230" height="40" as="geometry"/></mxCell><mxCell id="10" value="&lt;font style=&quot;font-size: 12px&quot;&gt;文本规则&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#FFCCCC;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="30" y="649" width="80" height="40" as="geometry"/></mxCell><mxCell id="11" value="&lt;font style=&quot;font-size: 12px&quot;&gt;模型&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#FFCCCC;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="140" y="649" width="80" height="40" as="geometry"/></mxCell><mxCell id="14" value="&lt;font color=&quot;#000000&quot;&gt;DB&lt;/font&gt;" style="shape=cylinder;whiteSpace=wrap;html=1;boundedLbl=1;rounded=0;glass=0;comic=1;strokeColor=#000000;fillColor=#FFCCFF;gradientColor=none;fontColor=#FFFFFF;" parent="1" vertex="1"><mxGeometry x="350" y="509" width="60" height="80" as="geometry"/></mxCell><mxCell id="19" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;glass=0;comic=1;direction=south;" parent="1" vertex="1"><mxGeometry x="490" y="415" width="350" height="250" as="geometry"/></mxCell><mxCell id="20" value="&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;&lt;b&gt;分发器&lt;/b&gt;&lt;/span&gt;&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;glass=0;comic=1;strokeColor=#000000;fillColor=#A9C4EB;gradientColor=none;fontColor=#FFFFFF;direction=south;" parent="1" vertex="1"><mxGeometry x="490" y="415" width="350" height="40" as="geometry"/></mxCell><mxCell id="24" value="&lt;font style=&quot;font-size: 12px&quot;&gt;微信&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="590" y="483" width="90" height="40" as="geometry"/></mxCell><mxCell id="25" value="钉钉" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="720" y="483" width="90" height="40" as="geometry"/></mxCell><mxCell id="26" value="TG" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="590" y="538" width="90" height="40" as="geometry"/></mxCell><mxCell id="27" value="网站" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="720" y="538" width="90" height="40" as="geometry"/></mxCell><mxCell id="28" value="个人知识库" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="590" y="598" width="90" height="40" as="geometry"/></mxCell><mxCell id="29" value="......" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="720" y="598" width="90" height="40" as="geometry"/></mxCell><mxCell id="30" value="&lt;div style=&quot;font-size: 15px&quot;&gt;&lt;b style=&quot;letter-spacing: 0px&quot;&gt;接&lt;/b&gt;&lt;br&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 15px&quot;&gt;&lt;font style=&quot;font-size: 15px&quot;&gt;&lt;b&gt;口&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;comic=1;fillColor=#EA6B66;" parent="1" vertex="1"><mxGeometry x="510" y="472" width="50" height="176" as="geometry"/></mxCell><mxCell id="31" value="" style="rounded=0;whiteSpace=wrap;html=1;comic=1;strokeColor=#EA6B66;fillColor=none;dashed=1;" parent="1" vertex="1"><mxGeometry x="580" y="474" width="240" height="177" as="geometry"/></mxCell><mxCell id="33" value="" style="endArrow=classic;startArrow=classic;html=1;exitX=1.033;exitY=0.625;exitPerimeter=0;entryX=0;entryY=0.5;edgeStyle=orthogonalEdgeStyle;curved=1;" parent="1" source="14" target="30" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="350" y="349" as="sourcePoint"/><mxPoint x="400" y="299" as="targetPoint"/></mxGeometry></mxCell><mxCell id="34" value="&lt;span style=&quot;background-color: rgb(213 , 232 , 212)&quot;&gt;展示层&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=1;dashed=1;comic=1;glass=0;fontSize=10;" parent="1" vertex="1"><mxGeometry x="580" y="462" width="50" height="17" as="geometry"/></mxCell><mxCell id="35" value="" style="endArrow=classic;startArrow=classic;html=1;edgeStyle=orthogonalEdgeStyle;curved=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="8" target="14" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="280" y="689" as="sourcePoint"/><mxPoint x="330" y="639" as="targetPoint"/></mxGeometry></mxCell></root></mxGraphModel></diagram></mxfile>
<mxfile host="localhost" modified="2021-12-29T02:21:04.850Z" agent="5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" etag="V1wSnhY0-ercrW9l347F" version="15.8.7" type="embed"><diagram id="ifRbPHD-4oiEYmhE_bd_" name="Page-1"><mxGraphModel dx="2196" dy="1113" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="12" style="rounded=0;html=1;jettySize=auto;orthogonalLoop=1;fontColor=#FFFFFF;entryX=0;entryY=0.5;entryDx=0;entryDy=0;edgeStyle=orthogonalEdgeStyle;curved=1;" parent="1" source="4" target="14" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="4" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;glass=0;comic=1;" parent="1" vertex="1"><mxGeometry x="10" y="349" width="230" height="160" as="geometry"/></mxCell><mxCell id="5" value="&lt;font style=&quot;font-size: 15px&quot;&gt;&lt;b&gt;采集器&lt;/b&gt;&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#F8CECC;comic=1;" parent="1" vertex="1"><mxGeometry x="10" y="349" width="230" height="40" as="geometry"/></mxCell><mxCell id="6" value="&lt;font style=&quot;font-size: 12px&quot;&gt;公众号&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#C3ABD0;comic=1;" parent="1" vertex="1"><mxGeometry x="30" y="429" width="80" height="40" as="geometry"/></mxCell><mxCell id="7" value="&lt;font style=&quot;font-size: 12px&quot;&gt;RSS&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#C3ABD0;comic=1;" parent="1" vertex="1"><mxGeometry x="140" y="429" width="80" height="40" as="geometry"/></mxCell><mxCell id="8" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;glass=0;comic=1;" parent="1" vertex="1"><mxGeometry x="10" y="569" width="230" height="160" as="geometry"/></mxCell><mxCell id="9" value="&lt;span style=&quot;font-size: 15px&quot;&gt;&lt;b&gt;处理器&lt;/b&gt;&lt;/span&gt;" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#FFB570;comic=1;" parent="1" vertex="1"><mxGeometry x="10" y="569" width="230" height="40" as="geometry"/></mxCell><mxCell id="10" value="&lt;font style=&quot;font-size: 12px&quot;&gt;模型&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#FFCCCC;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="30" y="649" width="80" height="40" as="geometry"/></mxCell><mxCell id="11" value="&lt;font style=&quot;font-size: 12px&quot;&gt;通用函数&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#FFCCCC;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="140" y="649" width="80" height="40" as="geometry"/></mxCell><mxCell id="14" value="&lt;font color=&quot;#000000&quot;&gt;DB&lt;/font&gt;" style="shape=cylinder;whiteSpace=wrap;html=1;boundedLbl=1;rounded=0;glass=0;comic=1;strokeColor=#000000;fillColor=#FFCCFF;gradientColor=none;fontColor=#FFFFFF;" parent="1" vertex="1"><mxGeometry x="350" y="509" width="60" height="80" as="geometry"/></mxCell><mxCell id="19" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;glass=0;comic=1;direction=south;" parent="1" vertex="1"><mxGeometry x="490" y="415" width="350" height="250" as="geometry"/></mxCell><mxCell id="20" value="&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 15px&quot;&gt;&lt;b&gt;分发器&lt;/b&gt;&lt;/span&gt;&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;glass=0;comic=1;strokeColor=#000000;fillColor=#A9C4EB;gradientColor=none;fontColor=#FFFFFF;direction=south;" parent="1" vertex="1"><mxGeometry x="490" y="415" width="350" height="40" as="geometry"/></mxCell><mxCell id="24" value="&lt;font style=&quot;font-size: 12px&quot;&gt;微信&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="590" y="483" width="90" height="40" as="geometry"/></mxCell><mxCell id="25" value="钉钉" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="720" y="483" width="90" height="40" as="geometry"/></mxCell><mxCell id="26" value="TG" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="590" y="538" width="90" height="40" as="geometry"/></mxCell><mxCell id="27" value="网站" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="720" y="538" width="90" height="40" as="geometry"/></mxCell><mxCell id="28" value="个人知识库" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="590" y="598" width="90" height="40" as="geometry"/></mxCell><mxCell id="29" value="......" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#F19C99;comic=1;gradientColor=none;" parent="1" vertex="1"><mxGeometry x="720" y="598" width="90" height="40" as="geometry"/></mxCell><mxCell id="30" value="&lt;div style=&quot;font-size: 15px&quot;&gt;&lt;b style=&quot;letter-spacing: 0px&quot;&gt;接&lt;/b&gt;&lt;br&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 15px&quot;&gt;&lt;font style=&quot;font-size: 15px&quot;&gt;&lt;b&gt;口&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;comic=1;fillColor=#EA6B66;" parent="1" vertex="1"><mxGeometry x="510" y="472" width="50" height="176" as="geometry"/></mxCell><mxCell id="31" value="" style="rounded=0;whiteSpace=wrap;html=1;comic=1;strokeColor=#EA6B66;fillColor=none;dashed=1;" parent="1" vertex="1"><mxGeometry x="580" y="474" width="240" height="177" as="geometry"/></mxCell><mxCell id="33" value="" style="endArrow=classic;startArrow=classic;html=1;exitX=1.033;exitY=0.625;exitPerimeter=0;entryX=0;entryY=0.5;edgeStyle=orthogonalEdgeStyle;curved=1;" parent="1" source="14" target="30" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="350" y="349" as="sourcePoint"/><mxPoint x="400" y="299" as="targetPoint"/></mxGeometry></mxCell><mxCell id="34" value="&lt;span style=&quot;background-color: rgb(213 , 232 , 212)&quot;&gt;展示层&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=1;dashed=1;comic=1;glass=0;fontSize=10;" parent="1" vertex="1"><mxGeometry x="580" y="462" width="50" height="17" as="geometry"/></mxCell><mxCell id="35" value="" style="endArrow=classic;startArrow=classic;html=1;edgeStyle=orthogonalEdgeStyle;curved=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="8" target="14" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="280" y="689" as="sourcePoint"/><mxPoint x="330" y="639" as="targetPoint"/></mxGeometry></mxCell></root></mxGraphModel></diagram></mxfile>
3 changes: 2 additions & 1 deletion .files/images/2c_process.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# 2C
<h1 align="center">2C</h1>

> 构建一个多源、干净、个性化的公众号阅读环境
作为一名微信公众号的重度用户,公众号一直被我设为汲取知识的地方。随着使用程度的增加,相信大家或多或少会有一个比较头疼的问题——**广告问题**
<p align="center">📖 构建一个多源、干净、个性化的阅读环境</p>

<div align=center><img src=".files/images/2c_ads_word_cloud.jpg" width="100%" alt="2c_ads_word_cloud" /></div>

假设你关注的公众号有十来个,若一个公众号两周接一次广告,理论上你会面临二十多次广告,实际上会更多,运气不好的话一天刷下来都是广告也不一定。若你关注了二三十个公众号,那很难避免现阶段公众号环境的广告轰炸。

更可恶的是,大部分的广告,无不是**贩卖焦虑,营造消极气氛**,实在无法忍受且严重影响我的心情。但有些公众号写的文章又确实不错,那怎么做可以不看广告只看文章呢?如果你在公众号阅读体验下深切感受到对于广告的无奈,那么这个项目就是你需要的。
使用场景:

这就是本项目的产生的原因,**构建一个多源、干净、个性化的公众号阅读环境**

> PS: 这里声明一点,看广告是对作者的支持,这样一定程度上可以促进作者更好地产出。但我看到喜欢的会直接**打赏支持**,所以**搭便车**的言论在我这里站不住脚,谢谢。
- 阅读源管控,构建自己的知识管理框架:目标阅读源不方便订阅、杂乱,利用2c生成RSS源进行自定义输出阅读
- 公众号用户的**广告问题**:避免公众号阅读环境的广告轰炸,案例见:[打造一个干净且个性化的公众号阅读环境](https://mp.weixin.qq.com/s/NKnTiLixjB9h8fSd7Gq8lw)
- 目标监控:针对特别关注的信息流进行监控,比如小说追更、特殊新闻追踪等

## 实现

Expand All @@ -22,14 +18,12 @@

简单解释一下:

- **采集器**监控各自关注的公众号或者博客源,最终构建`Feed`流作为输入源;
- **分类器**(广告):基于历史广告数据,利用机器学习实现一个广告分类器(可自定义规则),然后给每篇文章自动打上标签再持久化到`MongoDB`
- **采集器**监控各自关注的公众号或者博客源等自定义阅读源,最终构建`Feed`流作为输入源;
- **处理器**:对目标内容进行自定义处理,如基于历史广告数据,利用机器学习实现一个广告分类器(可自定义规则),或者自动打标签等
- **分发器**:依靠接口层进行数据请求&响应,为使用者提供个性化配置,然后根据配置自动进行分发,将干净的文章流向微信、钉钉、TG甚至自建网站都行。

这样做就实现了干净阅读环境的构建,衍生一下,还可以实现个人知识库的构建,可以做诸如标签管理、图谱构建等,这些都可以在接口层进行实现。

实现详情可参考文章[打造一个干净且个性化的公众号阅读环境](https://mp.weixin.qq.com/s/NKnTiLixjB9h8fSd7Gq8lw)

## 使用

教程[使用前必读]
Expand Down
2 changes: 1 addition & 1 deletion docs/01.2C使用教程.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![uuNLVj](https://raw.githubusercontent.com/howie6879/oss/master/images/uuNLVj.jpg)

[2C](https://github.com/howie6879/2c)的目的是为了**构建一个多源(公众号、RSS)、干净、个性化的阅读环境**如果你在公众号阅读体验下深切感受到对于广告的无奈,那么这个项目就是你需要的,一起看看怎么安装部署[2C](https://github.com/howie6879/2c)吧。
[2C](https://github.com/howie6879/2c)的目的是为了**构建一个多源干净、个性化的阅读环境**一起来看看怎么安装部署[2C](https://github.com/howie6879/2c)吧。

## 开始

Expand Down

0 comments on commit 4cf23e2

Please sign in to comment.