Commit graph

8 commits

Author SHA1 Message Date
5d7e96eb31
fetch, create fetch mod and AdapterClient
Creates a fetch mod for fetching remote rss content.

This implementation is barebones and not great since it doesn't pass any
compression or timestamp information.
2026-02-06 15:00:57 -08:00
1c3f4cc854
db, add item and functions to get items
Creates item. It's pretty barebowns until I implement fetching.

I also added get functions for feed and channel to get items with.
2026-02-06 15:00:57 -08:00
ac6e71eb62
db, add channel and feed; user.get_feeds
Adds the primary functionality for channel and feed

Also adds a function to user to get the feeds associated with a user.
2026-02-06 15:00:57 -08:00
292b974f1e
db, add core user functionality and tests; db mod
Adds all the basic user functions, and tests for them.

This is also intializes the DB Module, which will have more things in it
2026-02-06 15:00:53 -08:00
fafb017f64
score&test, Tests for a42853a & test_utils mod
Tests for all the core functionality implemented to score in a42853a.

Optimistically adding a test_utils mod for shared test code
2026-02-06 15:00:47 -08:00
674079769d
db+adapter, add sqlx + schema & add adapter
Adds SQLX for database management, and an Adapter interface for
interacting with it. Through the type "AdapterPool"

Creates an initial_schema with everything I think I'll need.
2026-02-06 15:00:16 -08:00
a42853ac5a
score, initialize core functionality and types
Adds Chrono package

Adds a "Result" type to lib.rs

creates helpful type aliases for Score, Boost, and Gravity.

Creates a "TimedScore" which is a value and time data for calculating
score over time. There are two forms of this, Boosted and Decaying.
Since a Score can either be decaying over time or have been boosted
recently and be kept from decaying for some time.

Also implements a BoostedScore and a DecayingScore, which are both
TimedScores which represent the different states. These are important
because you can't boost a BoostedScore for instance.
2026-02-05 12:13:49 -08:00
38d1cbbd50
Flake and Rust Project Init 2026-01-14 12:15:07 -08:00