Giter Site home page Giter Site logo

askfmarchiver's Introduction

askfm Archiver

A cross-platform tool to archive an ask.fm user profile.

Requirements

  • sqlite3 (optional) - Needed if you want to inspect, query, or modify the database.

Overview

The tool archives a user profile and extracts all textual information and any attachment in the answer or the question section. The only information it skips are polls.

The tool can also generate a markdown file of the parsed data that can be converted to HTML or PDF (using another tool). An example pdf that was created from the generated markdown file and the provided css file markdown-pdf.css can be found in the example folder.

Installation

RELEASE FILES

File Description
askfmArchiver-linux-x64.zip Linux x64 binary with all the necessary runtime dependencies.
askfmArchiver-win-x64.zip Windows x64 binary with all the necessary runtime dependencies.
askfmArchiver-osx-x64.zip MacOS (10.12+) binary with all the necessary runtime dependencies.

The downloaded zip file can be extracted using a tool like 7zip.

DOCKER

docker run --rm -v $(pwd):/data 'ghcr.io/selbetar/askfmarchiver:latest' --db /data/data.db --out /data/askfm-output [OPTIONS]

BUILD FROM SOURCE

Requirements:

  • .Net Core 6.0.
  • git

Execute the following commands to build the master branch locally:

$ git clone https://github.com/selbetar/askfmArchiver.git
$ cd askfmArchiver
$ dotnet publish --configuration Release --output="./bin-out" "-p:DebugSymbols=false;DebugType=none" ./askfmArchiver/askfmArchiver.csproj

The generated binary should be under ./askfmArchiver/bin-out.

Usage and Options

In the binary directory, execute the following command:

Unix:
./askfmArchiver -u <user> [OPTIONS]

Windows:
./askfmArchiver.exe -u <user> [OPTIONS]

General Options:

  -u, --user          Required. The userid of the askfm profile

  -o, --out           (Default: ) Specify the output folder where any downloaded or generated files will be saved.

  -c, --config        (Default: ) Specify the config folder where the app configuration file is located.

  -d, --db            Path to the database file.

  --help              Display this help screen.

  --version           Display version information.

Archival Options:

  -a, --archive       Required. Execute an archival job for the specified user.

  -p, --page          (Default: ) The page iterator (id) at which archiving should start. Useful if extraction was interrupted.

  -s, --stop-at       The date at which extraction should stop. Date should be in the following format: yyyy''MM''ddTHH''mm''ss

Markdown Options:

  -m, --markdown      Required. Generate markdown file(s) for the specified user.

  -D, --descending    (Default: false) Specify output folder where any downloaded or generated files will be saved.

  -r, --reset         (Default: false) Specify output folder where any downloaded or generated files will be saved.

askfmarchiver's People

Contributors

selbetar 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.