Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
/ timelines Public archive

On my twitter home timeline, there is plenty of garbage in form of ads, retweets or "you might like" posts, all without option to disable them. So I decided to create my own web site representing my twitter feed but without the clutter. If you want to use it, just plug in your own credentials.

Notifications You must be signed in to change notification settings

jaroslavknotek/timelines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timelines

This repository contains my personal implementation of custom timelines

  • Twitter timeline
  • Notes reminder

Installation

The requirements file for functions is here. But for development tools (like flask for running it locally) use also this requirements file.

Rudimentary Twitter Home Timeline

In twitter app, my home timeline shows far more than it should. I decided to filter it out.

There is a script to which you give twitter credentials and it will download tweets from your home timeline and create a rudimentary html code with it's content. That code can be then hosted on a stateless service (e.g. azure function). In the end you have your web page without adds, retweets (optional), "you might like" sections and others.

See how it looks here

Content

  • azure_functions/shared_code/tw2html.py - script that gives you the html representing your timeline
  • visualisation.ipynp - notebook that renders the html (so you can see it, try to open it within this repo)
  • azure_fucntions/twtimeline - directory with azure function stuff (see this for more info about what it does exactly)

Run

You need to create file local.setting.json with the following values. This is a format that is given by the azure function so I decided to reuse it too.

{
"Values": {
    "FUNCTIONS_WORKER_RUNTIME": "python",
    "AzureWebJobsStorage": "",
    "api_key":"your api key",
    "api_secret":"your api_secret",
    "access":"your access key",
    "secret":"your secret"
  }
}

You can then run the notebook and see your own timeline. If you want to have your own public website, then you can use Azure Function. You should be able to get their free credit.

Notes

I have plenty of notes. Some of them should be read again. Those are marked with #show_me tag.

The timeline is similar to the twitter one except the data source - the notes are stored in azure table. Filling it is not in scope of this repository.

About

On my twitter home timeline, there is plenty of garbage in form of ads, retweets or "you might like" posts, all without option to disable them. So I decided to create my own web site representing my twitter feed but without the clutter. If you want to use it, just plug in your own credentials.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published