嘟嘟社区

[不限流量] 推特被收购了,要不用 ColibriSM 自建一个推特?


昨天看到推特被特斯拉CEO马斯克收了,然后看了很多像mastodon、misskey等去中心化社交系统。不过对于我这种萌新来说,部署这些难度太大。于是我在翻Envato Market看到了个毛子写的程序 ColibriSM,自建了一个感觉还不错。

[不限流量]  推特被收购了,要不用 ColibriSM 自建一个推特?

不过现在俄罗斯被制裁了,作者的钱钱也提不出来
网易也有报道: https://www.163.com/dy/article/H5NQ01KO0511FQO9.html
售价更是搞到离谱的 5000刀 :


地址: https://codecanyon.net/item/colibrism-the-ultimate-php-modern-social-media-sharing-platform/26612898
演示站: https://preview.codecanyon.net/item/colibrism-the-ultimate-php-modern-social-media-sharing-platform/full_screen_preview/26612898
文件仅供学习使用,如有侵权 请在 https://oh.sb/tg 与我联系,感谢!

程序下载
蓝奏网盘:  https://itxe.lanzout.com/iLWEW03v708f
里面分别是:Document(部署文档)、ColibriSM(程序本体)、Update(旧版升级包)

汉化包
蓝奏网盘: https://itxe.lanzout.com/iIfl403v6ulc
安装方法:

前往后台找到UI Languages,右下角 按下方选择,找到 Chinese – 中文

然后Add Language

再覆盖汉化包到根目录,然后点圆圈设置为默认前台语言

伪静态
可直接引用根目录下 nginx.conf 或把以下内容放到配置文件中

  1. # @*************************************************************************@
  2. # [url=home.php?mod=space&uid=175]@[/url] Software author: Mansur Altamirov (Mansur_TL)                           @
  3. # @ Author_url 1: https://www.instagram.com/mansur_tl                       @
  4. # @ Author_url 2: http://codecanyon.net/user/mansur_tl                      @
  5. # @ Author E-mail: [email protected]                                    @
  6. # @*************************************************************************@
  7. # @ ColibriSM – The Ultimate Modern Social Media Sharing Platform           @
  8. # @ Copyright (c) 2020 – 2021 ColibriSM. All rights reserved.               @
  9. # @*************************************************************************@
  10. location /404 {
  11.     rewrite ^/404(/|)$ /index.php?app=err404;
  12. }
  13. location /500 {
  14.     rewrite ^/500(/|)$ /index.php?app=err500;
  15. }
  16. location /download_info {
  17.     rewrite ^/download_info(/|)$ /index.php?app=download_info;
  18. }
  19. location /native_api {
  20.     rewrite "^/native_api/(w{3,32})/(w{3,32})$" /api.php?api=native&app=$1&action=$2;
  21. }
  22. location /mobile_api {
  23.     rewrite "^/mobile_api/(w{3,32})$" /api.php?api=mobile&app=$1;
  24. }
  25. location /language{
  26.     rewrite "^/language/(w{2,25})(/|)$" /index.php?app=home&language=$1;
  27. }
  28. location /guest {
  29.     rewrite ^/guest(/|)$ /index.php?app=guest;
  30. }
  31. location /confirm_registration {
  32.     rewrite ^/confirm_registration(/|)$ /index.php?app=confirm_reg;
  33. }
  34. location /confirm_email {
  35.     rewrite ^/confirm_email(/|)$ /index.php?app=confirm_email;
  36. }
  37. location /admin_panel {
  38.     rewrite ^/admin_panel(/|)$ /index.php?app=cpanel;
  39.     rewrite "^/admin_panel/(w{3,25})(/|)$" /index.php?app=cpanel&section=$1;
  40. }  
  41. location /trending {
  42.     rewrite ^/trending(/|)$ /index.php?app=trending;
  43. }
  44. location /bookmarks {
  45.     rewrite ^/bookmarks(/|)$ /index.php?app=bookmarks;
  46. }  
  47. location /notifications {
  48.     rewrite ^/notifications(/|)$ /index.php?app=notifications&page=notifs;
  49. }  
  50. location /mentions {
  51.     rewrite ^/mentions(/|)$ /index.php?app=notifications&page=mentions;
  52. }  
  53. location /search {
  54.     rewrite ^/search(/|)$ /index.php?app=search;
  55.     rewrite ^/search/(htags|people|posts)(/|)$ /index.php?app=search&tab=$1;
  56. }
  57. location /start_up {
  58.     rewrite ^/start_up(/|)$ /index.php?app=start_up;
  59. }  
  60. location /thread {
  61.     rewrite "^/thread/([0-9]{1,11})(/|)$" /index.php?app=thread&thread_id=$1;
  62. }  
  63. location /reset_password {
  64.     rewrite ^/reset_password(/|)$ /index.php?app=guest;
  65. }
  66. location /home {
  67.     rewrite ^/home(/|)$ /index.php?app=home;
  68. }  
  69. location /logout {
  70.     rewrite ^/logout(/|)$ /index.php?app=logout;
  71. }  
  72. location /settings {
  73.     rewrite ^/settings(/|)$ /index.php?app=settings;
  74.     rewrite "^/settings/(w{3,25})(/|)$" /index.php?app=settings&sapp=$1;
  75. }  
  76. location /terms_of_use {
  77.     rewrite ^/terms_of_use(/|)$ /index.php?app=stat_pages&page=terms;
  78. }  
  79. location /privacy_policy {
  80.     rewrite ^/privacy_policy(/|)$ /index.php?app=stat_pages&page=privacy_policy;
  81. }  
  82. location /cookies_policy {
  83.     rewrite ^/cookies_policy(/|)$ /index.php?app=stat_pages&page=cookies_policy;
  84. }
  85. location /about_us {
  86.     rewrite ^/about_us(/|)$ /index.php?app=stat_pages&page=about_us;
  87. }  
  88. location /faqs {
  89.     rewrite ^/faqs(/|)$ /index.php?app=stat_pages&page=faqs;
  90. }  
  91. location /suggested {
  92.     rewrite ^/suggested(/|)$ /index.php?app=suggested;
  93. }  
  94. location /chats {
  95.     rewrite ^/chats(/|)$ /index.php?app=chats;
  96. }  
  97. location /affiliates {
  98.     rewrite ^/affiliates(/|)$ /index.php?app=affiliates;
  99. }  
  100. location /ads {
  101.     rewrite ^/ads(/|)$ /index.php?app=ads;
  102.     rewrite ^/ads/new(/|)$ /index.php?app=ads&page=upsert;
  103.     rewrite ^/ads/archive(/|)$ /index.php?app=ads&page=archive;
  104.     rewrite ^/ads/pending(/|)$ /index.php?app=ads&page=pending;
  105.     rewrite ^/ads/edit/(d+)(/|)$ /index.php?app=ads&page=upsert&ad_id=$1;
  106.     rewrite ^/ads/(d+)(/|)$ /index.php?app=ad_item&ad_id=$1;
  107. }  
  108. location /oauth {
  109.     rewrite ^/oauth(/|)$ /index.php?app=oauth;
  110.     rewrite ^/oauth/推特(/|)$ index.php?app=oauth&provider=推特;
  111.     rewrite ^/oauth/google(/|)$ index.php?app=oauth&provider=google;
  112.     rewrite ^/oauth/FB(/|)$ index.php?app=oauth&provider=FB;
  113. }  
  114. location /conversation {
  115.     rewrite "^/conversation/(w{3,25})(/|)$" /index.php?app=conversation&uname=$1;
  116. }
  117. location / {
  118.     if (!-e $request_filename){
  119.         rewrite ^/$ /index.php?app=home;
  120.     }
  121.     if (!-e $request_filename){
  122.         rewrite "^/(w{3,25})(/|)$" /index.php?app=profile&uname=$1;
  123.         rewrite "^/(w{3,25})/(following|followers)(/|)$" /index.php?app=connections&uname=$1&tab=$2;
  124.         rewrite "^/(w{3,25})/(posts|media|likes)(/|)$" /index.php?app=profile&uname=$1&tab=$2;
  125.     }
  126. }
  127. location ~ /.ht {
  128.     deny all;
  129. }

复制代码

总结
最后希望 推特 被收购后不会变味,毛子的复刻能力还是挺强的。文件仅供学习使用, 欢迎来 https://oh.sb/tg 交流学习,感谢!

推特, ColibriSM, 社交, vps
长毛象部署并不难 并且也直接有app可以用
社交软件最重要的是用户,推特唯一的用处是ghs
社交软件值钱的不是软件
支持 帮顶                  
性能很垃圾,传个视频无响应
感谢大佬无私分享,先多谢了。
支持分享,但 mastodon、misskey 部署不难,官方都有详细文档,misskey 还支持 docker,长毛象这类的优势是支持 ActivityPub 协议,可以互通也不用担心数据问题,而且已经有一定用户群了,喜欢社交可以去玩玩