agentleFS
dkrivoruchkodkrivoruchko/ScreenStream/AGENTS.md

ScreenStream

AGENTS.md2.6k starsChanged 7 months agoMITView on GitHub

When debugging crashes/ANRs, always use the Firebase Crashlytics MCP tools to fetch the latest issues and details before proposing code changes. Prefer Android CLI for Android-specific tasks, use Android Studio MCP/Agent tooling when IDE integration helps, and fall back to raw terminal or Gradle commands only for unsupported operations, verification, or debugging. Use a connected physical Android device for app run/test when available. If none is connected, ask before launching an emulator.

Trending

Quiet since December.thin dataabout the whole repository

Dec 2025: 1 mentionJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the dkrivoruchko/ScreenStream repository that our weekly crawl found: only 7 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about dkrivoruchko/ScreenStream

The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 7

Talked about on GitHub and Stack Overflow (7 times).

On GitHub · 6

1 more on GitHub
  • Jul 6, 2023C — C33rrrtt/codespaces-blank0 reactions

On Stack Overflow · 1

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

The file

We split this AGENTS.md into the rules it gives an agent

7 rules. About 1 is common, 4 are distinctive, and 2 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Prefer 4-space indentation and Android Studio formatting.

    line 23
  2. Very specific:

    Every locale file must mirror English key order and blank-line placement between <string> tags exactly.

    line 28
  3. Distinctive:

    Use compact AOSP‑style UI terms.

    line 30
  4. Common:

    Keep WebRTC signaling endpoints configurable.

    line 36
  5. Distinctive:

    When debugging crashes/ANRs, always use the Firebase Crashlytics MCP tools to fetch the latest issues and details before proposing code …

    line 38
  6. Distinctive:

    Prefer Android CLI for Android-specific tasks, use Android Studio MCP/Agent tooling when IDE integration helps, and fall back to raw …

    line 40
  7. Distinctive:

    Use a connected physical Android device for app run/test when available.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Repository Guidelines

Purpose & Modes

ScreenStream streams Android screen + audio. Modes: Local (MJPEG), Global (WebRTC), and RTSP. RTSP has two sub‑modes: server (default) hosts this device; client connects to an external RTSP media server. F‑Droid builds are ad‑free and exclude WebRTC; PlayStore builds include ads + WebRTC.

Project Structure & Modules

  • app: Compose UI shell, DI wiring, and flavors (app/src/PlayStore adds ads/WebRTC; app/src/FDroid strips them).
  • common: shared UI, preferences helpers, logging, utilities.
  • mjpeg: embedded Ktor HTTP server for local MJPEG streaming.
  • rtsp: RTSP server/client implementation and settings.
  • webrtc: WebRTC streaming (PlayStore flavor only).

Build & SDK Baseline

  • Kotlin explicitApi() with JVM toolchain 17.
  • SDKs: min 23, target/compile 36; build tools 36.0.0; NDK 28.2.13676358.
  • ./gradlew :app:assembleFDroidDebug — build the F-Droid debug APK.
  • ./gradlew :app:assemblePlayStoreDebug — build the Play Store debug APK.
  • Build types: release enables minify/shrink + Crashlytics mapping upload.
  • Flavors: FDroid, PlayStore. PlayStore reads ads from local.properties (ad.pubId, ad.unitIds).

Coding Style & Naming Conventions

Kotlin follows the official style (kotlin.code.style=official) and uses explicit API mode in the app module; keep public APIs explicit and well-typed. Prefer 4-space indentation and Android Studio formatting. Product flavors are PascalCase (FDroid, PlayStore), and module names are lowercase (common, mjpeg, rtsp, webrtc).

Localization Rules (Strings)

  • English values/strings.xml is the source of truth for key order and blank lines.
  • Every locale file must mirror English key order and blank-line placement between <string> tags exactly.
  • Strings live in module res/values (app, mjpeg, rtsp, webrtc). Avoid hardcoded literals.
  • Use compact AOSP‑style UI terms; prefer “stream”/“device”. Use loanwords when standard, otherwise localize.

Security & Configuration Tips

local.properties is read for Play Store ad identifiers; keep it uncommitted. The debug keystore is checked in for convenience; do not use it for release builds. Keep WebRTC signaling endpoints configurable; never hardcode credentials.

When debugging crashes/ANRs, always use the Firebase Crashlytics MCP tools to fetch the latest issues and details before proposing code changes.

Prefer Android CLI for Android-specific tasks, use Android Studio MCP/Agent tooling when IDE integration helps, and fall back to raw terminal or Gradle commands only for unsupported operations, verification, or debugging.

Use a connected physical Android device for app run/test when available. If none is connected, ask before launching an emulator.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.