Crate post_archiver

Source
Expand description

Post archiving and management system

§Overview

This crate provides functionality for managing and archiving posts from various platforms, with support for authors, tags, files, and comments. It implements a flexible data model that can handle different content types and maintain relationships between entities.

§Features

  • utils: Enables utility functions and manager functionality
  • importer: Enables post importing capabilities
  • typescript: Generates TypeScript type definitions

§Core Types

The system is built around several core types:

  • Author: Content creators with optional aliases
  • Alias: Alternative names for authors
  • Post: Content entries that can contain text and files
  • Tag: Categorical labels for content organization
  • Collection: Grouping of posts, authors, and tags
  • FileMeta: File metadata and storage management
  • Platform: Information about the platform from which posts are archived
  • Comment: Nested discussion threads

Re-exports§

pub use alias::*;
pub use author::*;
pub use collection::*;
pub use comment::*;
pub use file_meta::*;
pub use id::*;
pub use post::*;
pub use platform::*;
pub use tag::*;
pub use content::*;

Modules§

alias
author
collection
comment
content
file_meta
id
importer
Module for importing data from various sources.
manager
platform
post
tag
utils
Utility functions and constants for the post archiver system