CaptainFact / CaptainFact/captain-fact

Archive sources with archive.org

Open
#51 0 comments 0 reactions 0 assignees View on GitHub
backend complexity > medium feature frontend Up For Grabs
Dominant language
No language data
Stars
71
Forks
7
PR merge metrics
No merged PRs in 30d

Description

We should integrate https://archive.org/web/ to prevent dead links.

# Specifications

## Backend

- [ ] When adding a source, ping webarchive's API to ask for the URL to be indexed

## Frontend

On the source, add an icon in the top-right corner of the sources

- [ ] Icon: `styled-icons/fa-solid/Archive`
- [ ] Title: 'View archived version'
- [ ] Link to the page on WebArchive, at the closest date from `insertedAt`

---

*Suggested by zurbo*

Contributor guide

Open the contributing guide

Research direction

Start by locating the backend flow that adds a source and the frontend component that renders source actions. Read the Web Archive API documentation and trace how `insertedAt` is stored and displayed. Done means new sources are submitted for indexing and each source shows an archive icon linking to the closest archived version.

Written by the indexing model from the issue text.

Assessment

Domain
backend, frontend, full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.