1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00
miniflux-v2/internal/cli
jvoisin 5c26e06780 feat(entry): keep only metadata for removed entries
This should significantly shrink the space taken by miniflux' database:

```sql
miniflux=#
SELECT
  relname, pg_size_pretty(pg_total_relation_size(relname::regclass))
FROM
  pg_catalog.pg_statio_user_tables
ORDER BY
  pg_total_relation_size(relname::regclass)
DESC;

       relname        | pg_size_pretty
----------------------+----------------
 entries              | 158 MB
 icons                | 3312 kB
 enclosures           | 1568 kB
 sessions             | 1048 kB
 feeds                | 288 kB
 feed_icons           | 72 kB
 users                | 64 kB
 user_sessions        | 64 kB
 categories           | 48 kB
 integrations         | 32 kB
 api_keys             | 32 kB
 webauthn_credentials | 24 kB
 schema_version       | 16 kB
 acme_cache           | 16 kB
(14 rows)

miniflux=#
```

This should close #3524
2025-08-16 20:57:59 -07:00
..
ask_credentials.go cli: avoid misleading error message when creating an admin user 2024-03-23 14:32:55 -07:00
cleanup_tasks.go feat(entry): keep only metadata for removed entries 2025-08-16 20:57:59 -07:00
cli.go perf(js): don't load webauthn,js when disabled 2025-08-15 17:11:12 -07:00
create_admin.go cli: avoid misleading error message when creating an admin user 2024-03-23 14:32:55 -07:00
daemon.go refactor(http): rename package from httpd to server for consistency 2025-06-20 13:15:13 -07:00
export_feeds.go Add command line argument to export user feeds 2023-09-27 21:45:23 -07:00
flush_sessions.go Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
health_check.go feat: Allow multiple listen addresses 2025-06-20 12:46:34 -07:00
info.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
logger.go Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
refresh_feeds.go feat(storage): improve BatchBuilder logging 2025-08-08 16:34:36 -07:00
reset_password.go Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
scheduler.go feat(storage): improve BatchBuilder logging 2025-08-08 16:34:36 -07:00