Files
fusion/fly.toml
T
Yuan ad25dde50f refactor (#210)
* init refactor plan

* remove old files

* api design

* implement store layer

* implement api

* Add comments for store package

* init frontend

* implement pull service

* use slog

* two column layout

* new design

* fix env var

* fix

* stabilize store tests and query ordering

* remove settings.local.json and update .gitignore to exclude .claude

* improve layout and styling in sidebar and settings dialog

* add group management modal

* add feed management

* add OPML import and export

* use favicon

* fix article list

* fix

* fix ui

* search debounce

* fix ui

* store states in url

* fix: resolve nested button hydration error in ArticleItem

* edit feed

* filter items by group

* fix ui

* fade unread count

* add confirmation dialog for feed deletion and bold key names in confirmations

* fix search

* add optional OIDC authentication support

Allow self-hosted users to integrate with SSO providers (Authelia, Keycloak, etc.)
via OIDC. Enabled by setting FUSION_OIDC_ISSUER and related env vars. Uses PKCE S256
for security. When disabled, behavior is unchanged — login page shows password only.

* add article content processing with link, image, and tracking pixel handling

* replace goreleaser with shell script for cross-platform builds

Remove .goreleaser.yaml and add a `release` command to scripts.sh that
builds 6 platform combos (linux/darwin/windows × amd64/arm64), creates
zip archives with LICENSE/README, and generates sha256 checksums.

Update release workflow to use scripts.sh + gh CLI instead of
goreleaser-action. All build paths updated for backend/ subdirectory.

* implement feed discovery with feedfinder and feed selection

Replace placeholder feed validation with real RSS/Atom discovery so users can pick the correct feed URL before subscribing.

* standardize icon button sizes and improve responsive layout

* auto-fill empty site_url and keep OPML htmlUrl metadata

* add feed management page

* fix about panel

* responsive optimization

* fix search dialog result display and article drawer blank issue

- Add unique value props to CommandItems to prevent cmdk deduplication
- Use getFeedById from store instead of searching within search results
- Fetch article from API when not found in store (e.g. opened from search)

* improve AGENTS.md

* use tanstack-query

* harden auth config and optimize feed pulling

* optimize frontend route loading and lint compliance

Split heavy pages into lazy-loaded route modules to reduce initial bundle size and keep startup responsive. Also fix lint blockers in search/login flows and align ESLint rules with shadcn ui exports.

* harden feed networking and improve store query performance

* expand backend tests and unify test helpers

* fix unstable fallback GUID generation for feed items

* update docs

* simplify command responses with 204 and 202 statuses

* enforce foreign keys in initial sqlite schema

* use upstream static icons for frontend branding

* refactor ci

* add gray fallback for missing feed favicons

* highlight AI-free value in README

* enhance frontend PWA install and update flow

Expose browser install prompts in settings and add service worker update handoff so users can install Fusion and apply new versions without manual cache clearing.

* add robust legacy sqlite migration path

Automatically detect pre-migration schemas and rebuild them into the current schema so upgrades preserve user data safely and idempotently.

* embed frontend build artifacts into backend binary

* fix login flow for empty-password setups

* fix gin server mode to release

* fix

* add visibility logs for database migrations

* fix starred button background in dark mode

* align gin HTTP logging with slog output

* optimize user guidance

* refactor reader routes to path-based state

* update screenshots
2026-02-12 00:29:58 +08:00

31 lines
587 B
TOML

# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "{APP_NAME}"
# https://fly.io/docs/reference/regions/#fly-io-regions
primary_region = "{REGION}"
[build]
image = 'ghcr.io/0x2e/fusion:latest'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "off"
auto_start_machines = false
[[vm]]
size = 'shared-cpu-1x'
memory = '256mb'
[env]
FUSION_PASSWORD = "{YOUR_PASSWORD}"
FUSION_HOST = "127.0.0.1"
FUSION_DB_PATH = "/data/fusion.db"
[mounts]
source = "fusion_data"
destination = "/data"
initial_size = "1GB"