8000 GitHub - CloudColonizer/gitweets: publish tweets via git commit messages from the CLI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CloudColonizer/gitweets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

这是啥 What is this?

This is @est's fork of Yan's janky twitter replacement.

在线 demo: https://f.est.im/

一位叫 朱颜 的大神做了个神奇的 twitter 替代品——基于git。这个版本是 @est 的二次开发和封装

RT @bcrypt:

just made a “decentralized” “alternative” to twitter; everyone should go “join” it

to make an account: fork https://github.com/diracdeltas/tweets
to tweet: git commit --allow-empty
to follow someone: git remote add <alias> <their fork url>
to retweet: git cherry-pick <their “tweet”>

设想一下,一个 git repo 就能长久保存你的网络短篇废话,而且挂一个静态站就能随时随地展示你的时间轴,岂不妙哉。

搭建 Setup

使用 Stuff you can do

本地命令行:

  • 发文本 posting text: make post "blah"
  • 发图片 posting pics: make post "some pics:" static/2023/1015-01.webp

OAuth with github

https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/refreshing-user-access-tokens https://docs.github.com/en/rest/overview/authenticating-to-the-rest-api

https://docs.github.com/en/rest/activity/starring?apiVersion=2022-11-28#star-a-repository-for-the-authenticated-user https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#create-a-pull-request

https://github.com/organizations/CloudColonizer/settings/applications/2352861 https://github.com/login/oauth/authorize?client_id=822bbd6320f8bae0de63

https://docs.github.com/en/rest/orgs/members?apiVersion=2022-11-28#create-an-organization-invitation

待办 ToDo:

  • verifications
  • 404.html for single-page-app routing
  • 用 blob API 发图
  • 多图 flexbox 布局 玩不动了。就酱
  • login with Github
  • Cloudflare Pages with Functions
  • 移动端响应式布局 🤣
  • 视频、音频控件
  • 网址 microformats 支持卡片
  • non-github API 支持:gitlab等
  • 本地 make 静态页面
  • make delete 方法
  • fix long text
  • 翻页 API

About

publish tweets via git commit messages from the CLI

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • HTML 70.9%
  • JavaScript 22.6%
  • Makefile 6.5%
0