Socket
Socket
Sign inDemoInstall

backup-to-ebooks-archive

Package Overview
Dependencies
2
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    backup-to-ebooks-archive

Take your Twitter backup file and convert it to a twitter_ebooks archive.


Version published
Weekly downloads
1
Maintainers
1
Install size
121 kB
Created
Weekly downloads
 

Readme

Source

backup-to-ebooks-archive

NPM

Convert your Twitter backup into a twitter_ebooks archive.

Installation

npm install -g backup-to-ebooks-archive

Usage

backup-to-ebooks-archive <backup.csv> <export.json>

Example:

backup-to-ebooks-archive tweets.csv username.json

Then from there you can import your full Twitter archive into your ebooks bot.

$ ebooks consume username.json
Faraday::Builder is now Faraday::RackBuilder.
Reading json corpus from username.json
Removing commented lines and sorting mentions
Segmenting text into sentences
Tokenizing 14600 statements and 12992 mentions
Ranking keywords
Corpus consumed to model/username.model

Why?

When running the archive ability of twitter_ebooks, it only imported a paltry 3,000 of my 18,000 tweets, and I didn't want to mess with API limits to grab what I can already get via Twitter's export feature.

Keywords

FAQs

Last updated on 29 Jun 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc