mirror of
https://github.com/PR0M3TH3AN/Archivestr.git
synced 2025-09-07 14:58:53 +00:00
c1707d94ef5329d90b6df3ad78cc20589d3b7d72
Archivestr
Archivestr is a Nostr tool for creating, browsing, and broadcasting archives. It provides a seamless way to interact with Nostr archives through a collector interface for creating archives in JSON format and a viewer for browsing archive files.
Features
- Collector: Collects and archives Nostr data in JSON format. The collector can also broadcast the archives to Nostr relays.
- Viewer: Loads and browses existing archive files with sorting and detailed views of event metadata and content.
Project Structure
index.html
: The landing page with navigation links to the collector and viewer tools.collector.html
: The interface for collecting and archiving Nostr events.view-archive.html
: The interface for browsing archived JSON files.script.js
: The logic for interacting with Nostr relays in the collector tool.
Getting Started
Prerequisites
Ensure you have the following installed:
- A modern web browser (Chrome, Firefox, etc.)
- Basic knowledge of Nostr events and relays
Installation
- Clone the repository:
git clone https://github.com/PR0M3TH3AN/Archivestr.git
- Navigate to the project directory:
cd archivestr
- Open
index.html
in a browser to get started.
Usage
Collector
- Navigate to
collector.html
. - Enter the NPub (public key) and relay URLs to collect data.
- Start collecting events, and download the archive as a JSON file.
Viewer
- Navigate to
view-archive.html
. - Load a JSON archive file.
- Browse, sort, and view details of the events in the archive.
Development
Feel free to contribute or customize the project:
- Modify
collector.html
orview-archive.html
as needed. - Enhance the functionality in
script.js
. - Update the styling in the
<style>
sections or move styles to external CSS files.
Contributing
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
License
This project is licensed under the MIT License. See the LICENSE file for details.
GitHub Repository
Visit the GitHub repository for the source code and updates.
Languages
JavaScript
60.3%
CSS
21.6%
HTML
18.1%