Coder Social home page Coder Social logo

twitter's Introduction

Zenon Network Community Twitter Access

This repository allows you to request a tweet to be sent out via the @zenon_network Twitter account. To do so, simply create a *.tweet file in the tweets/ directory of this repo.

Creating a New Tweet

  1. Click this link: Create new tweet
  2. Replace <your-path> in the URL with the desired path of your file (e.g. tweets/hello-world.tweet).
  3. Add your tweet content in the new file and commit it.

Example:

Hello, world!

Subfolders are allowed as long as the file is in the tweets/ directory and ends with the .tweet extension.

Advanced Tweeting

In addition to plain text, you can also add polls, replies, retweets, quote-retweets, image attachments, and threaded tweets. Here's how to do it:

Adding a Poll

Add your options at the end of the tweet in the following format:

Here is some text

( ) option A
( ) option B
( ) option C
( ) option D

Alternatively, use YAML frontmatter to define the poll:

---
poll:
  - Red
  - Blue
  - Green
---

What is your favorite color?

Replying to a Tweet

Add the reply frontmatter item with the URL of the tweet you want to reply to:

---
reply: https://twitter.com/gr2m/status/1409601188362809349
---

@gr2m I love your work!

Retweeting and Quote-Retweeting

Use the retweet frontmatter item with the URL of the tweet you wish to retweet. If you want to quote-retweet, simply add your comment after the frontmatter.

---
retweet: https://twitter.com/gr2m/status/1409601188362809349
---

twitter-together is awesome!

Adding Media

To include media with your tweet, provide the media frontmatter item as an array where each item has a file property and an optional alt property. The file should be located in the media directory of your repo.

---
media:
  - file: cat.jpg
    alt: A cat
  - file: dog.jpg
    alt: A dog
---

Here are some cute animals!

Creating a Thread

Use --- to delimit each tweet in the file. Each tweet in a thread supports its own frontmatter.

---
media:
  - file: cat.jpg
    alt: A cat
  - file: dog.jpg
    alt: A dog
---

Here are some cute animals!

---
---
poll:
  - Cat
  - Dog
---

Which one is cuter?

Notes

  • The system only handles newly created files. Updates, deletions, or renames are ignored.
  • If you need to rename an existing tweet file, use git mv old_filename new_filename.
  • Your message must fit within Twitter's character limit.
  • *.tweet files won't be created for tweets sent directly from Twitter.

Need Help?

If you have any questions or suggestions, please create a new issue.

twitter's People

Contributors

sugoibtc avatar coinselor avatar 0x3639 avatar mehowz avatar stark-of-zenon avatar sol-znn avatar kinggorrin avatar zashounet avatar interstellartraveler77 avatar georgezgeorgez avatar github-actions[bot] avatar rainbowginger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.