Loading video...

Video Failed to Load

Go Home

tl;DR: Flags-as-code for Next.js Svelte⁠kit without clientside jank. Supports Middleware, SSR, hydration, and pluggable flag backend sources.

19,756 views • 1 year ago •via X (Twitter)

9 Comments

Guillermo Rauch's profile picture
Guillermo Rauch1 year ago

▲ ~ / npm i flags

Robbie Dinte's profile picture
Robbie Dinte1 year ago

@nextjs @sveltejs Bad day to be a refresh button

Guillermo Rauch's profile picture
Guillermo Rauch1 year ago

@nextjs @sveltejs 😂

Vieko Franetovic's profile picture
Vieko Franetovic1 year ago

@nextjs @sveltejs :chefs-kiss

Djah 〰️'s profile picture
Djah 〰️1 year ago

@nextjs @sveltejs been waiting for this. no more feature flag spaghetti. clean deployments about to get way cleaner.

FedeB's profile picture
FedeB1 year ago

@nextjs @sveltejs

sweetman's profile picture
sweetman1 year ago

@nextjs @sveltejs Based 👏

Rickyticky Bobbywobbin's profile picture
Rickyticky Bobbywobbin2 years ago

INTRODUCING: Agentic Security - LLM Security Scanner! 🔍 🔑 Features: Scans for prompt injections, jailbreaking & more. Provides detailed reports & options to customize attack rules. 🔗access the GitHub Link ↓

Vinayaka K V's profile picture
Vinayaka K V1 year ago

@nextjs @sveltejs From the docs, I think it should be possible to run `await in any NodeJS backend. Need to see if it works though! Cool work and good idea of having flags as symbols in the code.

Related Videos

Robert Burke, who’s running for Congress in Massachusetts’ 8th District, put up an American flag at Boston City Hall Plaza to mark America’s 250th birthday. City officials quickly made him take it down. This happened right after Mayor Michelle Wu’s office raised the Somali flag there for Somali Independence Day. Burke says it’s backwards, celebrating a foreign flag while shutting down our own, especially with the Fourth of July coming up. Because Mayor Michelle Wu issued an official mayoral proclamation declaring it Somali Independence Day and endorsed the event. Under Boston’s flag policy, the mayor can approve foreign national flags for recognized communities through proclamations and ceremonies, which they’ve done for years for many countries. Burke’s unsanctioned American flag display didn’t have that approval, so city staff made him remove it. It’s sparked a ton of backlash for the double standard right before the Fourth of July. They removed it because Burke didn’t get official permission through the mayor’s office or city council. Boston’s flag policy for City Hall Plaza requires either a mayoral proclamation or a council resolution for any non-standard flag display. The Somali flag was there as part of an official city event with Wu’s proclamation, so it was approved. His unsanctioned American flag wasn’t, so city workers told him to take it down. It’s city property, not public free speech zone without approval. This is a perfect example of how Commies rule against the United States and how tone-deaf local officials can get. Prioritizing foreign flags over our own on government property just before Independence Day is wrong regardless of party. It’s the kind of thing that fuels voter anger and backlash.

Patricia 🇺🇸

55,658 views • 3 months ago

Anthropic just released a talk on building headless automation with Claude Code. Presented by Sid Bidasaria, Member of Technical Staff at Anthropic live at Code with Claude on May 22, 2025 in San Francisco. Here is what the talk covers. Headless mode lets you run Claude Code without a person actively typing prompts from inside an automated script. Instead of a live session, a script calls Claude with a pre-written instruction using the -p flag. This opens the door for Claude Code to become a piece of a much larger, automated process. In plain terms: Claude Code stops being a tool you use and starts being a service that runs on its own. What this unlocks: Scheduled tasks: Run Claude Code on a cron schedule without anyone at a keyboard. Fix linting errors across an entire codebase. Automatically. Overnight. CI/CD integration: Trigger Claude Code as a step in your build process. Open a PR. Claude reviews it, flags issues, and pushes fixes before a human ever looks at it. GitHub automation: A project manager comments "Claude fix this" on a GitHub issue. Claude reads the request, finds the code, writes the fix, and opens the PR. Multi-machine workflows: One orchestrator dispatches tasks to multiple Claude Code instances running in parallel across different repos simultaneously. When you combine headless mode, hooks, and GitHub Actions, development teams can automate tasks that usually eat up significant time freeing senior engineers to focus on architectural problems while Claude handles the repetitive ones. If you use Claude Code for anything beyond single sessions this talk is worth 20 minutes of your time.

Elias

14,096 views • 4 months ago

Claude Code tip: stop burning Opus 5.5 context on tasks Sonnet 5.5 can swarm, while Fable 5.1 sits idle spin up an autonomous team with --agent claude --agent architect Opus 5.5 acts as the lead architect, scoping the work and validating every worktree before it merges Sonnet 5.5 teammates take isolated git worktrees and hammer out implementations at medium effort Fable 5.1 sits on the team as a dedicated adversary, only stepping in at three critical moments: → before a contract locks: does the frontend payload match the backend schema? → when a test breaks twice: are we patching the bug or just hiding the symptom? → before the merge: what attack surface or edge case did everyone overlook? Sonnet 5.5 builds. Fable 5.1 challenges. Opus 5.5 merges and ships Jev engineering runs the identical pattern one layer down: mechanical decisions that need no reasoning (which file to open, which tool to invoke, retry or abort) execute in 16ms, so the frontier models only wake up when execution paths actually diverge Plan on high. Delegate on medium. Keep the adversary on peer-to-peer call. - the full team setup > architect runs the main session on Opus 5.5 at high effort > teammate-ux builds client state inside its own git worktree > teammate-back writes endpoints and migrations inside a separate worktree > teammate-adv runs on Fable 5.1, read-only, and attacks every diff > teammates message each other by name without routing through the lead > tools: Agent(ux, backend, adversary) locks the architect to spawning only its own team paste the setup and this prompt into Claude Code below: "Configure my Claude Code workspace for an autonomous agent team: 1. Audit ~/.claude/agents and .claude/agents for definitions fitting architect, ux, backend and adversary > Generate definitions only for missing roles > Pin model: sonnet, effort: medium, isolation: worktree for ux and backend, and model: fable with read-only tools for adversary > Give architect model: opus, effort: high and tools: Agent(ux, backend, adversary) 2. Check ~/.claude/settings.json and my env: > Report CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS if it's set, since it turns named subagents into teammates without worktrees > Report CLAUDE_CODE_SUBAGENT_MODEL_FORCE and CLAUDE_CODE_EFFORT_LEVEL, which can override the pinned models and effort 3. Write each role's prompt so ux and backend own separate folders, message each other by name when a contract changes, and hand every diff to adversary before reporting back 4. Add a team rule to ~/.claude/CLAUDE.md: no worktree merges until adversary has reviewed it Show every configuration diff first. Do not apply edits until confirmed" save it

Khairallah AL-Awady

32,018 views • 8 days ago

#Islamist groups have launched a coordinated campaign across #Bangladesh to display a white flag bearing the "Shahadah" (#Islamic declaration of faith) in black. This flag is the official flag of the #Taliban in #Afghanistan, while a black version carrying the same inscription has been used by #terrorist organisations such as #ISIS. Although the Shahadah itself is a sacred Islamic declaration, these specific flag designs have been adopted by #extremist groups, making their public display in this context a matter of concern. The flags are being flown from motorcycles and vehicles and have been erected on roadsides, bridges, and other public spaces. Media reports say they have appeared in at least 12 districts, including several key areas of #Dhaka. A former leader of #HefazatEIslam Harun Izhar, who was jailed under the #AwamiLeague Govt for his extremist preaching and later released during the #Yunus-led interim administration, is believed to be the spiritual force behind the campaign. In a widely circulated video, he instructs his followers: "Put the flag of the Shahadah everywhere. If needed, take down the other flags and put up this one." Despite the scale of the campaign and the obvious security concerns it raises, police say they have not identified those responsible. Witnesses, however, have told local media that #Madrasa students are being used to install the flags. Hefazat leaders also have openly endorsed the campaign. HeI Joint Secretary General Maolana Idris Ali stated: "If a flag with the Shahadah is installed once, it cannot be taken down ever. As an Islamic country, we support this campaign." Associate Professor and #criminology expert Dr. Touhid Hoque of Dhaka University has warned that similar flags have previously been used by extremist groups in Bangladesh. He cautions that this campaign could be a rehearsal for an extremist group to signal its presence and influence, posing a serious risk to Bangladesh's communal harmony. He also urged the authorities to treat the matter with the seriousness it deserves. Video: Times of Bangladesh. News: ... #BangladeshCrisis Paulo Casaca #IslamistResurgence Dr. Brahma Chellaney David Maddox Chris Blackburn Charlie Campbell #Islamism

Bangladesh Watch

12,253 views • 3 months ago

Once again, Dr. Aisha Wahab 愛莎華 is trying to exploit divisions within the diaspora from Afghanistan in the United States by using the ethnic card to gain support in an already vulnerable and polarized community. Supporting one flag that served as the official flag of Afghanistan at different points in the last century is one thing. But calling the flag of the democratic resistance a “warlord flag” is completely unacceptable. Tens of thousands of people fought under that flag for freedom and democracy from 1994 to 2001, and thousands sacrificed their lives. Since 2021, it has once again become a symbol of resistance against oppression and the struggle for the country’s liberation. Someone who genuinely believes in inclusivity should not insult a symbol that is dear to millions of people. Just a day ago, many criticized me for pointing out the contradiction and hypocrisy we see among some supporters of King Amanullah, who first adopted this flag in 1928. They praise his legacy while at the same time lobbying for the normalization and recognition of the Taliban, which represents the complete opposite of many of the values they claim to celebrate. The NRF, from day one, has respected both flags. That is the rational and cohesive approach, particularly in a country with such a complicated history and a deeply divided society. Respecting the symbols and historical experiences of different communities is how you bring people together, not by mocking or dismissing what millions hold dear. For millions of citizens of Afghanistan, this flag represents dignity, honor, sacrifice, and the struggle for freedom and basic rights. Dismissing it as a “warlord flag” shows complete disregard for the sacrifices of those who fought and died under it. Comments like these will only deepen divisions and further mobilize the diaspora from Afghanistan in California and across the United States to call out her hypocrisy, prejudice, and selective presentation of the history of Afghanistan. Senator Aisha Wahab

Ali Maisam Nazary

135,953 views • 1 month ago

Labour Councillor Darragh Moriarty is stepping on dangerous territory by demanding that Dublin City Council stamp out the right of Irish people to raise our own national flag. The fact that he is calling for Tricolours to be removed that have been "put up with hateful intent" is a direct attack on our right to freely express our national identity by flying our national flag. Where is the evidence that the flags were put up with "hateful intent*?. Does Councillor Moriarty consider himself to be part of the Thought Police?. Does he believe that raising our national flag should be classified a "hate crime"?. This appears to be where he is going and unless we push back we could soon witness the banning of our national flag in public places. Councillor Moriarty appears to think that raising our national flag is "borrowed" from English nationalism. How did he reach this patronising anti-Irish conclusion?. The same Labour who only last year publicly announced that they were "proud" to see the Palestinian flag raised in Leinster House. What we are witnessing is a full-frontal attack on anything Irish. Dublin City Council need to be reminded that the Irish people have a right to raise our national flag and that any attack on our freedom of expression and national identity will be contested. The locals of Coolock, Ballyfermot, Finglas and the north and south inner city have NOT contravened any law in raising our national flag in their communities. The only thing Dublin City Council can come up with is that they did not get written permission from the Public Lighting Services before they erected the flags. We have no doubt that many flags have been erected throughout Dublin city without obtaining such written person from the Public Lighting Services in advance, without issue. What we are watching in Ireland is the acceleration of the regime's anti-Irish agenda, whereby any expression of our national identity is being vilified and condemned as "far,-right" by the same left liberals who want to destroy our country.

Lawyers For Justice Ireland

136,142 views • 1 year ago