twitter-simulation (is provided AS IS), is a one page html that simulates home screen of twitter
- Home account can be configured using config.json
- Profile name, @handle, profile picture, bio, banner picture, following and followers count
- Trends
- Who to follow
- Tweets can be added in tweets.json
- Last added, first shown
- Twitter account's name, @handle should be configured
- Twitter profile picture can be configured
- Actual tweet text should be configured, html is supported. Quotes need to be escaped in for html.
- Optional - Reply, retweet and love counts [default random 0-100]
- Optional - Delay in seconds [default 0]
- A click on "Tweet" button refreshes the tweets and plays tweet sound
Same origin policy in your browser must be disabled, for twitter-simulation to run smoothly.
- Chrome -> 'chromium-browser --disable-web-security --user-data-dir="[some directory here]"'
- FireFox -> about:config - 'security.fileuri.strict_origin_policy = false'
- Internet Explorer -> tools - Internet Options - Security - 'Internet' security zone - Custom level - Miscellaneous - enable "Access data sources across domain"
Some pretty cool references/credits to people I got inspired by with their project:
- twitter layout from Giada Cantarutti
You can reach me on Twitter @SansarTweets. Feel free if you want to contribute, clone, fork, submit your PR and so on.
twitter-simulation is licensed under a MIT License.