Navigation Menu

Skip to content

chee/twfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twfs

a fuse filesystem for tweets

installation

you're going to need FUSE1 installed, and any fuse -devel packages if you're using a distro that splits those out (Void, Fedora and Debian do).

i've included node@10 in the dev-dependencies, it works with that.

open a terminal and run these commands:

$ git clone https://github.com/chee/twfs.git
$ cd twfs
$ npm install

hopefully that worked.

now create a working copy of the config:

$ cp config.example.json config.json

now open that in a text editor. if you opened a fresh terminal, the twfs folder should be in your home directory :)

the keys and secrets to go in those variables can be retrieved when you've created an app2, go to its "keys and tokens" page. the "consumer" key and secret are called "API Key & Secret" in Twitter's web ui, and the access token & secret

now you can run

$ npx node index.js

and it will mount a file system at ~~./twitter~. if you run cat twitter/username it will print username's latest tweet.

Footnotes

Footnotes

  1. FUSE on linux, OSXFuse on macOS and Dokany on Windows

  2. i'm not sure the exact steps, i'm using an app i made a long time ago

About

a fuse filesystem for tweets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published