In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you about how to carry out the open source of ArtiPub, a multi-source platform for one article. The article is rich in content and analyzed and described from a professional point of view. I hope you can get something after reading this article.
Background
Many excellent programmers and technicians like to write technical articles and technical blogs, so as to share and disseminate knowledge and experience, expand their popularity and influence, and attract the attention of fans. some technology bloggers even earn advertising revenue by writing articles, and many excellent bloggers get book publishing opportunities and job opportunities in this way. Therefore, writing technical articles is a very worthwhile thing to invest in, helping yourself and benefiting the public.
However, writing technical articles is usually time-consuming, especially some high-quality articles, which not only need to solicit references, conceive the structure of the article, and take care of the reader's audience, but also need to do a lot of preliminary work, such as setting up the environment, writing demo code, testing code, and so on. A high-quality technical article usually takes 3-6 hours to complete. However, after spending a lot of time writing articles, it is quite frustrating that the published articles do not get the attention of many people. We believe that high-quality articles deserve attention and dissemination, so that more technical workers can benefit from reading articles.
Every technology blogger has his or her favorite technology media platform, such as Nuggets, CSDN, Wechat official account and so on. Many technology bloggers also like to post articles on different platforms to get the most attention, while preventing their hard-written articles from being copied and pasted by others. However, posting on multiple platforms is a hassle: bloggers need to log on to multiple media platforms at the same time and copy and paste their articles one by one; what's more, some platforms only support Markdown, others only support rich text, and bloggers need to switch back and forth between the two, which adds to the workload.
ArtiPub, a multi-post platform, solves this problem. We will introduce the recently launched open source multi-article platform ArtiPub.
Introduction to ArtiPub
ArtiPub (Article Publisher for short, meaning "article publisher") is an open source multi-article platform, which can help article writers automatically publish their articles to technology media platforms such as Nuggets, SegmentFault, CSDN, Zhihu and open source China, so as to spread high-quality knowledge and gain maximum exposure. ArtiPub is easy to install and provides a variety of installation methods (Docker, NPM, source code), which can be installed and used with one button, which usually takes only 5 minutes.
The ArtiPub initial version currently supports the functions of article editing, article release and data statistics. Later, we will add the functions of stock article import and data analysis, so that you can better manage and optimize your technical articles. In addition, we will also access more multimedia channels to really make articles available everywhere.
It is also very easy for users to use ArtiPub. They only need to open the Web interface of ArtiPub on the browser, input the article into the editor in the form of Markdown, and then click to publish it. After waiting for less than 1 minute, the article will be automatically synchronized to the major technical media platforms. In addition, the data of reading, likes and comments of the article will be synchronized periodically, so that the author can see the spread of the article in near real time.
Github: https://github.com/crawlab-team/artipub
Docker: https://hub.docker.com/r/tikazyq/artipub
NPM: https://www.npmjs.com/package/artipub
Platform overview
The following is a screenshot of the Web interface of the platform. Of course, we recommend that you actually install ArtiPub.
Platform management
Article management
Article editing
Article release
Chrome plug-in
Compared with other platforms
There are already multiple platforms on the market, such as OpenWrite, why create ArtiPub? Other multi-text platforms may also be an alternative, but they require users to upload their account information, such as Cookie or account password, to each other's server, which is very insecure, and their account information will be compromised if something goes wrong with the platform. Although I believe that the general platform will not maliciously manipulate the user's account, if there is any misoperation, your account privacy will be disclosed and the property on the platform may be damaged, which is a risk to consider. ArtiPub does not require users to upload account information, and all account information is stored in the user's own database, thus avoiding this security risk.
In addition, because ArtiPub is open source, the JS source code is also easy to understand and highly scalable. If users have access requirements for other platforms, they can completely realize their needs by changing the source code without waiting for platform updates. The development team will also continue to develop ArtiPub to make it more practical and easy to use.
Brief introduction to the principle of ArtiPub
In fact, the principle of ArtiPub is not complex, to put it simply, it uses crawler technology to publish articles to various platforms. ArtiPub's crawler uses Puppeteer, an automated testing tool developed by Google, which can not only get data that requires ajax dynamic content, but also do some simulation operations, similar to Selenium, but more powerful. How to do the login operation? In fact, ArtiPub is through the Chrome plug-in to obtain the user login information (Cookie), the Cookie will be injected into the Puppeteer operation of the Chromium browser, and then the browser can log on to the website to post the operation. Cookie is stored in the MongoDB database built by users and is not exposed to the public, so it is very safe.
The following is a schematic diagram of the architecture of ArtiPub.
A brief introduction to the principles of the architecture is as follows:
The back end (Backend) is the hub of the whole architecture, which is responsible for exchanging data for the front end, storing and reading databases, controlling crawlers, collecting Cookie, etc.
The Chrome plug-in (Chrome Extension) is only responsible for obtaining Cookie from the website (Sites)
Spiders is controlled by the backend and is responsible for publishing articles and crawling data on the website.
The database (MongoDB) is responsible for storing data
The front end (Frontend) is a React application, which is transformed by Ant Design Pro.
Overall, ArtiPub solves the pain point where users need to post articles on multiple platforms and don't want to disclose account information. Users can use ArtiPub for free, because it is open source, the architecture principle is very transparent, developers can also contribute to the open source project. ArtiPub is very useful, and the author has published some stock articles on all available platforms, and the results are good. Even this article is written and published in ArtiPub. If you want to try it, please install it on the Github, Docker, and NPM homepages.
The above is the editor for you to share how to carry out a multi-article platform ArtiPub open source, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.