1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
Matthew Holt
5844c5755b
Fix most (all?) lint warnings 2024-12-11 18:59:24 -07:00
Matt Holt
746e5d6b5c
Refactored import flow, new import UI, thumbnails stored in timeline, etc. (close #3) (#43)
* Schema revisions for new import flow and thumbnails

* WIP settings

* WIP quick schema fix

* gallery: Image search using ML embeddings

Still very rough around the edges, but basically works.

'uv' gets auto-installed, but currently requires restarting Timelinize before it can be used.

Lots of tunings and optimizations are needed. There is much room for improvement.

Still migrating from imports -> jobs, so that part of the code and schema is still a mess.

* Implement search for similar items

* Finish import/planning rewrite; it compiles and tests pass

* Fix some bugs, probably introduce other bugs

* WIP new import planning page

* Fix Google Photos and Twitter recognition

* Finish most of import page UI; start button still WIP

* WIP: Start Import button

* Fixes to jobs, thumbnail job, import job, etc.

* Implement proper checkpointing support; jobs fixes
2024-12-06 11:03:29 -07:00
Matthew Holt
b8feef6b44
Make bookmark mini display look nicer 2024-09-15 21:55:12 -06:00
Sergio Rubio
ec57f1740e
chore: clean github ds leftovers (#56)
* chore: clean gitub ds leftovers

Missed this in https://github.com/timelinize/timelinize/pull/48 after
refactoring the code.

* One more
2024-09-11 14:13:18 -06:00
Sergio Rubio
ef287c1bb9
GitHub data source (#48)
* GitHub stars data source

Data source that imports GitHub starred repositories in JSON format.

Each starred repo is imported individually, the starred repo
metadata comes from the GitHub API.

The item timestamp is set to the starred date, so they appear in the
timeline the day the repo was starred.

A small json file is saved in the timeline repository data directory
with the metadata retrieved from the GitHub API, which looks like:

```
{
 "id": 841044067,
 "name": "timelinize",
 "html_url": "https://github.com/timelinize/timelinize",
 "description": "Store your data from all your accounts and devices in a single cohesive timeline on your own computer",
 "created_at": "2024-08-11T13:27:39Z",
 "updated_at": "2024-09-03T07:17:29Z",
 "pushed_at": "2024-09-02T15:31:59Z",
 "stargazers_count": 504,
 "language": "Go",
 "full_name": "timelinize/timelinize",
 "topics": null,
 "is_template": false,
 "Topics": "archival,data-archiving,data-import,timeline",
 "private": false,
 "starred_at": "2024-08-12T17:55:48Z"
}
```

The data source currently expects the JSON file to be named like:

- ghstars.json
- ghstars-<ISO date>.json
- ghstars-<UNIX timestamp>.json

* Linter fixes

* Remove optional options

* Add the URL label to the bookmark class

* Change the data source name to GitHub

* Rename data source directory also

* Rename datasource main file

* Store GitHub starred repo URL only

* rename symbols

* Add basic tests

* moar tests

* Linter fix

* You can read on closed channels

* Add bookmark svg for the frontend

* Update package docs

* 💄 docs

* Update datasources/github/github.go

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

* Update datasources/github/github.go

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

* Update datasources/github/github.go

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

* Remove content from item

---------

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2024-09-06 11:22:07 -06:00