Normal view

There are new articles available, click to refresh the page.
Today — 12 July 2025Main stream

Canada's Carney talked tough on Trump - now some say he's backing down

12 July 2025 at 07:05
PA Media Canada's Prime Minister Mark Carney walks behind US President Donald Trump as they attend a family photo session during the G7 summit in Kananaskis, Alberta. Both wear dark suits, and Carney smiles and gestures while Trump frowns slightly. PA Media

It's another curveball in the Canada-US trade war - a new missive by US Donald Trump threatening an unexpected 35% tariff on Canadian goods starting next month.

It came as the two countries engage in intense trade talks meant to produce a new deal in the coming days, and what the latest tariff threat means for these negotiations is unclear.

But Canada's new prime minister, Mark Carney, is beginning to face questions over whether he is able to stand up to Trump and secure the fair deal for Canada he promised.

Carney won April's general election vowing to keep his "elbows up" in the face of US threats, leaning on a popular ice hockey metaphor used to describe an assertive and confrontational style of play.

But Canada's recent concessions to Trump appear to have yielded, to date, little result.

The latest came in late June, when Canada scrapped a Digital Services Tax (DST) it had planned to impose on big tech companies after Trump threatened to end negotiations over the policy.

The White House said that Canada "caved" to its demands, and the move prompted debate in Canada.

Canadian commentator Robyn Urback wrote: "Maybe Prime Minister Mark Carney's elbows were getting tired."

She said government's elbows up and down approach to negotiations so far could be characterised as a "chicken dance".

Meanwhile, Blayne Haggart, a professor of political science at Brock University, argued in a recent opinion piece in The Globe and Mail newspaper that: "Nothing about Carney's US strategy, particularly his pursuit of a 'comprehensive' trade and security agreement, makes a lick of sense."

Walking back on the DST has achieved "less than nothing", he said.

Still many are willing to give Carney more time, and polls suggest his government maintains strong support.

Roland Paris, a former adviser to Ottawa on Canada-US relations, told the BBC that it is too early to say whether Canada has conceded things prematurely.

"Much will depend on the final agreement," he said.

But Mr Paris said it's clear Trump drives a hard bargain.

"If, in the end, Carney appears to have capitulated to Trump and we're left with a bad deal, he will pay a political price at home," he said.

Before the walk back on the DST, Canada sought to appease the president by pledging early this year C$1.3bn to enhance security at the shared border and appointing a "fentanyl czar" over Trump's claims the drug was flooding over the boundary.

Still, in his Thursday letter announcing the latest tariff, Trump again warned Canada over the drug.

Carney also didn't respond with further counter measures when the president doubled tariffs on steel and aluminium last month.

The prime minister responded to the new threat of a 35% tariffs by 1 August saying: "Throughout the current trade negotiations with the United States, the Canadian government has steadfastly defended our workers and businesses."

He said Canada will continue negotiating, with next month as the now-revised deadline for an agreement. (The two countries had previously set a 21 July time limit)

The good news for Canada is that the new tariff rate will not apply - at least for now - to goods under the US-Mexico-Canada free trade agreement, which covers a vast majority of the cross-border trade.

President Trump has also sent similar notes to more than 20 countries as part of his plan to carve out new agreements with America's trade partners.

Domestically, Canadians across political stripes remain united against Trump's tariffs.

Conservative leader Pierre Poilievre said on Thursday his party is ready to do everything it can "to secure the best deal for Canada", while British Columbia Premier David Eby said Trump's letter is "one more reminder of why Canadians need to come together".

And experts note there may be more to the ongoing negotiations than meets the eye.

Despite having a smaller economy than the US, it still has some leverage, argued Fen Hampson, a professor of international affairs at Carleton University and expert on international negotiations.

"It's important to remember that it is American consumers who are going to pay the tariffs, not us," he said.

Many US-based manufacturers also rely on Canadian products like steel and aluminium, which are currently subject to a steep 50% tariff.

"You can't judge the outcome of negotiations by the last move or the concession that's made," Prof Hampson noted. "You can only judge it by its outcome."

Experts also point to Carney's efforts to reduce reliance on the US - including by signing an arms deal with the European Union - and to fast-track major projects and remove domestic trade barriers.

Pressed Friday on Trump's latest threat, Canada's industry minister Melanie Joly said the government "does not negotiate in public".

And she denied that Canada isn't standing up to Trump.

"We're dealing with a very unpredictable US administration," she said, and "we're not the only ones".

North Korea's Benidorm-style resort welcomes first Russian tourists

12 July 2025 at 08:39
Getty Images A North Korean tourist slides down a waterslide at the new resort. Several other visitors watch on. The photo is imposed over the BBC Verify colours and branding. Getty Images

A new beach resort in North Korea, criticised by human rights groups for the harsh treatment of construction workers, has welcomed its first group of Russian tourists this week.

The Wonsan Kalma resort was opened in a grand ceremony last month by North Korea's leader, Kim Jong Un, who hailed it as a "world-class tourist and cultural destination".

The details of how this resort was built have been shrouded in secrecy in a country largely closed to the outside world.

BBC Verify has studied satellite imagery, obtained internal planning documents, and spoken to experts and former North Korean insiders about their concerns over human rights abuses during the development of the site.

Echoes of Benidorm

Kim Jong Un spent much of his youth in Wonsan, and prior to the building of the new resort the town was a popular holiday destination for the country's elite.

"When the Wonsan tourist area was initially planned… the idea was to attract around one million tourists to the area while keeping it a closed-off zone," says Ri Jong Ho, a senior North Korean economic official involved in the resort's early planning stages and who defected in 2014.

"The intention was to open North Korea up a bit."

In 2017, a year before construction began, Kim sent a delegation on a fact-finding mission to Spain, where the team toured the resort of Benidorm.

The North Korean delegation "included high ranking politicians and many architects who took lots of notes," recalls Matias Perez Such, a member of the Spanish team that hosted the delegation on a tour including a theme park, high-rise hotels and a marina.

A North Korean brochure with a map of the resort has 43 hotels identified along the beach front, as well as guest houses on an artificial lake, and camping sites.

We've matched these locations with high-resolution satellite imagery, although we are unable to verify whether they have actually been completed.

A satellite image showing the new resort. Labelled are a water park and several hotels. They all sit along the shoreline, where a beach is visible.

An aquatic park, complete with towering yellow water slides, is set back from the beach.

Further north, there's an entertainment quarter which includes buildings that are identified in the plan as a theatre, recreation and fitness centres, and a cinema.

A satellite image of the resort shows a recreation centre, cinema and a theatre. They all sit along the shoreline, where a beach is visible.

Beginning in early 2018, satellite images taken over 18 months reveal dozens of buildings springing up along the 4km (2.5 mile) stretch of coastline.

By the end of 2018, around 80% of the resort had been completed, according to research carried out by satellite imagery firm, SI Analytics, based in South Korea.

However, following this whirlwind construction effort, work on the site then appears to have paused.

Time-lapse of the Wonsan Kalma resort's construction

Construction then resumed after a June 2024 meeting with Kim and Vladimir Putin, where the Russian president said he would encourage his citizens to visit North Korea's holiday resorts.

The human cost of construction

This rapid pace of construction has raised concerns over the treatment of those working at the site.

The UN has highlighted a system of forced labour used in North Korea, in particular "shock brigades" where workers often face harsh conditions, long hours, and inadequate compensation.

James Heenan of the UN Human Rights Office in Seoul says "there are reports that the resort was built using what they call shock brigades".

"We've also seen reports that people were working 24 hours at the end to get this thing finished, which sounds like a shock brigade to me."

Getty Images The Wonsan Kalma Coastal Tourist Area in Wonsan. A series of multi-story buildings are visible in the image, which all sit along the shoreline. Getty Images
Dozens of high-rise buildings have been constructed along the beach front

The BBC has spoken to one North Korean who served in and eventually managed shock brigades.

Although Cho Chung Hui - who has subsequently defected - wasn't involved in the construction of the Wonsan resort, he recalled the brutal conditions of the brigades he oversaw.

"The principle behind these [brigades] was that no matter what, you had to complete the task, even if it cost you your life," he said.

"I saw many women who were under so much physical strain and eating so poorly that their periods stopped altogether."

Getty Images Domestic tourists ride a bicycle at Wonsan Kalma Coastal Tourist Area in Wonsan, North Korea's Kangwon Province. Getty Images
Beach front hotels were built at great speed raising concerns over conditions for construction workers

Kang Gyuri, who worked in Wonsan before fleeing to South Korea in 2023, says her cousin volunteered to work on the construction site because he saw it as a pathway to residency in the country's capital of Pyongyang, which is reserved for citizens trusted by the regime.

"He could hardly sleep. They [didn't] give him enough to eat," she said.

"The facilities are not properly organised, some people just die while working and they [the authorities] don't take responsibility if they fall and die."

Ms Kang also said residents in Wonsan were driven out from their homes as the resort project expanded, often without compensation.

Though not specific to Ms Kang's experience, BBC Verify was able to identify through satellite analysis the demolition of buildings near a main road leading towards the resort. In their place, larger tower blocks are now visible.

"They just demolish everything and build something new, especially if it's in a good location," Ms Kang said.

"The problem is, no matter how unfair it feels, people can't openly speak out or protest."

The BBC reached out to North Korean officials for comment.

Where are the foreign tourists?

North Korea has been almost entirely closed to foreign visitors with only a few highly-controlled tours permitted to visit the country in recent years.

Wonsan Kalma is seen not only as playing an important role in reviving the sanctioned country's ailing economic fortunes, but also as a means of strengthening its ties with Russia - which have grown closer following Pyongyang's military support for Moscow's war in Ukraine.

According to early planning documents seen by BBC Verify, the initial goal was to attract more than a million visitors, with foreign tourists expected to mainly come from China and Russia.

AFP Domestic tourists watch as a man uses a slide into a swimming pool at the Myongsasimni Water Park in the Wonsan Kalma Coastal Tourist Area in Wonsan, North Korea's Kangwon Province. AFP
The resort opened to North Korean tourists at the end of June

We have scanned tourist agency sites both in China and Russia for any listings promoting trips to the new resort.

None of the Chinese agencies we checked were advertising trips to Wonsan. In Russia, however, we identified three agencies offering tours that included Wonsan Kalma.

We called one of the Russian agencies in early July posing as an interested customer a week before its first scheduled departure on 7 July and were told that it had attracted 12 people from Russia.

The week-long trip to North Korea, including three days at the Wonsan resort, cost $1,800 (£1,300) - that's 60% more than the average monthly salary in Russia.

Two further trips have been scheduled for August, according to this tour operator.

Vostok Intur A screengrab of an advert for from a Russian tourism agency promoting the resort. It says a trip cost around $1,800. Vostok Intur
A week's tour of North Korea costs a Russian traveller around $1,800 (£1,300)

We contacted the other two agencies offering similar tour packages, but they declined to disclose how many people had signed up.

Andrei Lankov, an expert in Russian-North Korean relations at the Kookmin University in Seoul, said Wonsan Kalma was "highly unlikely to become seriously popular with Russian visitors".

"Russian tourists can easily go to places like Turkey, Egypt, Thailand and Vietnam, which are far superior to everything North Korea can develop," he said.

"The standards of service are higher and you are not put under constant supervision."

Additional reporting by Yaroslava Kiryukhina, Yi Ma and Cristina Cuevas. Graphics by Sally Nicholls and Erwan Rivault.

The BBC Verify banner

Trade trumps geopolitics as Australia PM visits China

12 July 2025 at 06:28
Watch: Relationship with China means 'jobs in Australia', Australian PM says

Australia's leader Anthony Albanese will visit China and meet with President Xi Jinping this weekend as he seeks to strengthen ties with Canberra's largest trading partner.

Regional security and trade will take centre stage during the prime minister's six-day trip spanning three cities - Beijing, Shanghai and Chengdu.

"My government will continue to cooperate with China where we can, disagree where we must, and engage in our national interest," Albanese said in a statement.

The trip marks Albanese's second official visit to China - but the first since his re-election in May. It comes as countries around the world navigate US president Donald Trump's "America First" policies including tariffs.

China accounts for nearly a third of Australia's total trade and "will remain so for the foreseeable future", Albanese said.

"The relationship in China means jobs in Australia. It's as simple as that," he told reporters on Friday.

Albanese, whose Labor Party government was re-elected with an increased majority in May, had pledged among other things to create more jobs and bring back manufacturing in Australia.

Analysts say this trip signals a stabilisation of ties between Australia and China, even as Beijing has been trying to extend its military reach across the Pacific to some protest by Australia.

Last month, Australia's defence minister Richard Marles called on China to explain why it needs to have "such an extraordinary military build-up".

A rare Chinese military drill in the Tasman sea in February was also called "unusual" by Marles.

"Both sides recognise their differences... [and] agree those differences should not define the relationship," says James Laurenceson, director of Australia-China Relations Institute.

The two countries are not seeking geopolitical alignment, he said.

"They need to keep the politics stable and constructive so that other parts of the relationship, like businesses, cultural organisations, universities and so on can forge ahead with engagement in their own areas."

Mr Laurenceson notes, however, that Washington "will not be pleased" with Albanese's visit. But the prime minister has domestic support for this, he says.

"Washington is heading in a direction so plainly contrary to Australia's interests that any [leader] seen as kowtowing to the White House would face pushback at home," he says.

Beijing will continue to criticise Australia's involvement in the Aukus submarine deal with its longstanding allies, the UK and the US, observers tell the BBC, while Canberra will reiterate its commitment to the pact - even as Trump's administration has recently put the agreement under review.

But disagreements over issues like Aukus will not thwart Australia's and China's relationship significantly, the observers say.

Getty Images Anthony Albanese, Australia's prime minister, in a black suit, white shirt and orange tie, during an address at the National Press Club in CanberraGetty Images
Anthony Albanese will arrive in Beijing on Saturday for his second official visit to China since 2023

And neither will other contentious topics Albanese may bring up - including China's actions in the South China Sea and the case of Australian novelist Yang Hengjun, who has been jailed and handed a suspended death sentence by Beijing on espionage charges which he denies.

"This is part of a broader, understated and mature diplomacy from the current government and it does not fall into the recriminations of previous years," says Bryce Wakefield, who leads the Australian Institute for International Studies.

Albanese's delegation to China includes top executives from Macquarie Bank and the Australian arm of HSBC, as well as mining giants Rio Tinto, BHP and Fortescue, according to the Australian Financial Review.

Albanese had cited green energy among the areas that Australia and China can "further engage" on.

While in China, the prime minister will also meet with Premier Li Qiang and Zhao Leji, chairman of the Standing Committee of the National People' Congress.

China's state newspaper Global Times says Albanese's visit "carries special significance" and shows "Australia's desire to seek more reliable partners in an uncertain world order... with China being the obvious choice".

In November 2023, Albanese became the first Australian leader visit China in seven years - ending a hiatus triggered by a string of disputes including various Chinese sanctions on Australian goods, and back and forth accusations of foreign interference.

Since then, his administration has managed to stabilise ties with Beijing and negotiate the end of a series of brutal tariffs.

Intense Med Sea heatwave raises fears for marine life

12 July 2025 at 08:33
Getty Images A red and blue parasol on a beach next to the sea, which is at the top of the picture. Two beachgoers are resting in the shade under the blue parasol on the right.Getty Images
Shading from the midday Sun during a recent heatwave in southern France

Warmer water at the seaside might sound nice for your holiday dip, but recent ocean heat in the Mediterranean Sea has been so intense that scientists fear potentially devastating consequences for marine life.

The temperature of the sea surface regularly passed 30C off the coast of Majorca and elsewhere in late June and early July, in places six or seven degrees above usual.

That's probably warmer than your local leisure centre swimming pool.

It has been the western Med's most extreme marine heatwave ever recorded for the time of year, affecting large areas of the sea for weeks on end.

The heat appears to be cooling off, but some species simply struggle to cope with such prolonged and intense warmth, with potential knock-on effects for fish stocks.

To give you some idea of these temperatures, most leisure centre swimming pools are heated to roughly 28C. Competitive swimming pools are slightly cooler at 25-28C, World Aquatics says.

Children's pools are a bit warmer, recommended at 29-31C or 30-32C for babies, according to the Swimming Teachers' Association.

Such balmy temperatures might sound attractive, but they can pose hidden threats. Harmful bacteria and algae can often spread more easily in warmer seawater, which isn't treated with cleaning chemicals like your local pool.

Map showing the average sea surface temperature across the Mediterranean Sea on 6 July. Some areas exceeded 30C on 6 July, marked by dark reds off the coast of Majorca and south-west Italy. Below the map is a graph showing daily sea temperature highs from a measurement buoy off Majorca. Temperatures exceeded 30C in late June, the earliest date on record to pass that mark.

Sea temperatures of 30C or above are not unprecedented in the Med in late summer.

But they are highly unusual for June, according to data from the European Copernicus climate service, Mercator Ocean International, and measurements at Spanish ports.

"What is different this year is that 30C sea temperatures have arrived much earlier, and that means that we can expect the summer to be more intense and longer," said Marta Marcos, associate professor at the University of the Balearic Islands in Spain.

"I grew up here, so we are used to heatwaves, but this has become more and more common and intense."

"We're all very, very surprised at the magnitude of this heatwave," added Aida Alvera-Azcárate, an oceanographer at the University of Liege in Belgium.

"It's a matter of high concern, but this is something we can expect to be happening again in the future."

Map showing categories of marine heatwave across Europe on 6 July. Most of the Mediterranean is in a marine heatwave of some kind. In the east, there is a "moderate" marine heatwave in many places, marked by yellows. Most of the west is in a "strong", "severe" or even "extreme" heatwave, marked by oranges and dark reds.

Marine heatwaves are becoming more intense and longer-lasting as humanity continues to release planet-warming gases into our atmosphere, principally by burning coal, oil and gas.

In fact, the number of days of extreme sea surface heat globally has tripled over the past 80 years, according to research published earlier this year.

"Global warming is the main driver of marine heat waves… it's essentially transferring heat from the atmosphere to the ocean. It's very simple," said Dr Marcos.

The Mediterranean is particularly vulnerable because it's a bit like a bathtub, largely surrounded by continents rather than open ocean.

That means water cannot escape easily, so its surface heats up quickly in the presence of warm air, sunny skies and light winds - as happened in June.

Map showing the sea surface temperature across the Mediterranean Sea on 30 June compared with the long-term average for that day. Almost all of the Med was warmer than usual, marked by yellows, oranges and reds. Only small areas of the eastern Med were cooler than usual, marked by light blues. Some places, like off the south coast of France, were more than 6C above average, shown by dark reds. Below the map is a graph showing daily average sea surface temperature across the whole of the western Med in 2025 in red versus other years in grey. There is a big spike in June, with average temperatures across the region reaching 3.7C above usual for the time of year, the highest figure ever recorded.

For that reason, the Med is "a climate change hotspot" said Karina von Schuckmann of Mercator Ocean International, a non-profit research organisation.

The heat peaked as June turned to July, after which stronger winds allowed deeper, cooler waters to mix with the warm surface above and bring temperatures down.

But temperatures remain above average and there could be consequences for marine life that we don't yet know about.

Most life has a temperature threshold beyond which it can't survive, though it varies a lot between species and individuals.

But sea creatures can also suffer from prolonged heat exposure, which essentially drains their energy through the summer to a point where they can no longer cope.

"I remember four years ago diving in September at the end of summer, we found skeletons of many, many, many populations," said Emma Cebrian, an ecologist at the Centre for Advanced Studies of Blanes in Spain.

Seaweeds and seagrasses act a bit like the forests of the Mediterranean Sea, home to hundreds of species, as well as locking up planet-warming carbon dioxide.

"Some of them are well adapted to typical Mediterranean warm temperatures, but actually they often cannot withstand marine heatwave conditions, which are becoming more extreme and widespread," said Dr Cebrian.

Getty Images About 50 fish swim in deep blue ocean waters above a dark green seagrass meadow.Getty Images
Seagrasses like Posidonia support large numbers of fish species, providing food and shelter

The heat can also cause what ecologists call "sub-lethal effects", where species essentially go into survival mode and don't reproduce.

"If we start to see ecological impacts, there will almost certainly be impacts on human societies [including] losses of fisheries," warned Dan Smale, senior research fellow at the Marine Biological Association in Plymouth.

"We'll have to wait and see, really, but because the temperatures are so high this early in the summer, it is really alarming."

The fast-warming Med is "a canary in the coal mine for climate change and marine ecosystems," he added.

Excessive ocean heat can also supercharge extreme weather.

Warmer seas mean extra evaporation, adding to the moisture in the atmosphere that can fuel extreme rainfall.

If other conditions are right, that can lead to devastating flooding, as happened in Libya in 2023 and Valencia in 2024.

EPA Damage at the end of a street. In the foreground there is a large pile of muddy rubble. In the background there are more than a dozen people in high-visibility or white protective clothing cleaning up. On the left is a yellow truck and on the right is an orange digger. EPA
The Valencia floods killed more than 200 people and destroyed large areas of the city

And warmer waters can reduce the cooling effect that coastal populations would usually get from the sea breeze.

That could make things very uncomfortable if there's another heatwave later in the summer, Dr Marcos warned.

"I'm pretty sure that's going to be horrible."

Thin, green banner promoting the Future Earth newsletter with text saying, “The world’s biggest climate news in your inbox every week”. There is also a graphic of an iceberg overlaid with a green circular pattern.

Sign up for our Future Earth newsletter to keep up with the latest climate and environment stories with the BBC's Justin Rowlatt. Outside the UK? Sign up to our international newsletter here.

US court rejects plea deal for '9/11 mastermind' Khalil Sheikh Mohammed

12 July 2025 at 05:11
Reuters An artist's sketch of Khalid Sheikh Mohammed during a court recess at a pre-trial hearing at the U.S. Naval Base Guantanamo Bay, Cuba, in this October 15, 2012 file photo.Reuters
Khalid Sheikh Muhammad is accused of organising and directing the 9/11 attacks on the United States

A divided federal appeals court has thrown out a plea agreement that would have allowed accused "9/11 mastermind" Khalid Sheikh Mohammed and other co-defendants to plead guilty in exchange for avoiding the death penalty, US media report.

Judges in Washington DC rejected the agreement, which would have given Mohammed and the other defendants a life sentence without parole, in a 2-1 decision on Friday.

Mohammed is accused of organising and directing the 11 September 2001 attacks on the US, in which hijacked planes crashed into the World Trade Center and the Pentagon, killing almost 3,000 people. He was captured in 2003 and is being held in Guantanamo Bay, the US prison camp in Cuba.

Under the deal, families of the 9/11 victims would have been allowed to pose questions to Mohammed, who would be required to "answer their questions fully and truthfully", lawyers said.

Relatives of the victims were split on the deal, according to the BBC's US partner CBS News.

Those who objected felt a trial was the best path to justice and to uncovering more information about the attacks.

Supporters saw it as the best hope for getting some answers and finally closing the painful case.

The plea deal was negotiated over two years and approved by military prosecutors and the senior Pentagon official in Guantanamo Bay.

Pre-trial hearings have been going on for more than a decade, complicated by questions over whether torture Mohammed and other defendants faced while in US custody taints the evidence.

Following his arrest in Pakistan in 2003, Mohammed spent three years at secret CIA prisons known as "black sites", where he was subjected to simulated drowning, or "waterboarding", 183 times, among other so-called "advanced interrogation techniques" that included sleep deprivation and forced nudity.

In July last year, the Biden administration announced it had struck deals with Mohammed and three other co-defendants.

But then Defence Secretary Lloyd Austin overruled the agreement two days later, saying he was the sole authority who could enter such an agreement.

A military court ruled against Austin's effort in December, which put the agreement to avoid the death penalty back on the table.

On Friday, the appeals court tossed the deal, saying Austin was acting within his authority in December 2024.

"Having properly assumed the convening authority, the Secretary determined that the 'families and the American public deserve the opportunity to see military commission trials carried out.' The Secretary acted within the bounds of his legal authority, and we decline to second-guess his judgment," judges Patricia Millett and Neomi Rao wrote, as reported by the Associated Press.

Judge Robert Wilkins disagreed, saying the government "has not come within a country mile of proving clearly and indisputably that the Military Judge erred."

Mother mourns 'beautiful' 12-year-old shot while watching TV during Kenya protests

12 July 2025 at 00:57
Njoki's family Bridgit Njoki stares at a camera, wearing a top with a blue collar. She stands in front of a white wall.Njoki's family
Bridgit Njoki's family said she was the pride of the household

On Monday, as anti-government protests swept across parts of Kenya, 12-year-old Bridgit Njoki sat watching television in her family's modest home.

She had no idea that the deadly clashes between these protesters and Kenya's armed police would find their way into her living room.

A single bullet pierced the roof, puncturing the ceiling and striking Njoki in the head, her mother, Lucy Ngugi, tells the BBC. Within hours, she was pronounced dead in hospital.

"She was my everything," Ms Ngugi says, while sobbing in her home just outside the capital, Nairobi. "She was all I had."

"Let me be the last mother to weep because of the death of a child. An innocent child. I wish she was even playing outside… but inside the house? Oh Lord, this is painful."

Njoki is one of the youngest victims of the violence that has rocked Kenya over the past month. According to the Kenya National Commission on Human Rights (KNCHR), almost 70 people have died and hundreds were wounded in the three major protests that have taken place since 17 June.

The protests - mainly led by young Kenyans - reflect growing discontent over issues like the cost of living, tax hikes, runaway public debt, and police brutality.

On 7 July, the day Njoki died, the authorities barricaded major roads in preparation for the demonstrations.

Video evidence shows the police firing tear gas, and in some cases, live rounds in residential areas where protesters had regrouped.

"The bullet came over the roof of the house. It penetrated into the ceiling, right where Njoki was seated on a chair," says Njoki's grandmother, Margaret Njeri.

"Immediately, her mother grabbed her and came screaming to my home: 'Mum, my child has been shot!' I couldn't even hold the child."

A close-up photo shows a hole in a sheet of iron
The bullet punctured the family's corrugated iron roof

The family had thought they were far from the violent clashes, given they lived in Ndumberi, a village nearly two kilometres (1.2 miles) from a main road.

"I was sure it was a bullet," says Njoki's mother. "The bang that hit the roof was so loud. Very loud."

The police have dismissed the family's claims, insisting a bullet couldn't travel from the main road to their house. But Njoki's lifeless body told a different story.

A report from the 12-year-old's post-mortem examination says doctors retrieved a bullet from her body, and that her head injury was "consistent with a gunshot".

Njoki had been a Grade 7 student at Benson Njau School in Ting'ang'a, a nearby village. As the family's firstborn, she was a caretaker, helper, and the pride of the household.

"She was always number one in her class," her grandmother says. "So obedient, so specific, so neat.

"Even in the way she spoke. She was just a very good girl. She loved serving in church. She helped her siblings. She cooked for me. She was everything."

Njoki's mother describes her as "a beautiful girl, a charming girl, who had so many dreams".

Her father is crushed, unable to speak. Her siblings are also silent. Grief hangs like a shroud in the house, while Njoki's chair sits empty.

The deaths of dozens like Njoki have drawn international condemnation.

The UN said it was deeply troubled by the killings and criticised the Kenyan police for using "lethal ammunition" against protesters.

This all feels like a repeat of last year, when according to the KNCHR, more than 50 died in a police crackdown on months of anti-government protests.

President Ruto has taken a particularly hard-line stance this time.

In a national address following the 7 July protests, in which 38 people were killed, according to the state-run human rights commission, Ruto said: "Anyone caught burning another person's business or property should be shot in the leg, hospitalised and later taken to court. Don't kill them, but ensure their legs are broken."

Ruto has accused political rivals of inciting violence in a bid to unseat him illegally, but the president's opponents have dismissed this allegation.

Njoki's mother and father sit in front of a bright blue wall - her mother wears a blue hoody and father wears a beige blazer with a checked shirt.
Njoki's father and mother are now calling for peace and justice

Meanwhile, back in Ndumberi, Njoki's family are simply calling for an end to the brutality.

"I'll bury Njoki, but I'll never forget the Saba Saba Day [7 July]. Let Njoki be the last sacrifice of these protests," her mother says.

The ongoing anti-government protest movement has reshaped Kenyan politics. It has demanded transparency, empathy and a listening ear. But it has also paid in blood.

And as the uprising continues, Njoki's name and those of many others lost have become a symbol - of innocence, state overreach, and a lack of accountability.

"Let's not burn our country. Let's have dialogue. Let's talk. We are brothers and sisters, I'm begging our government - let this not happen to any other parent," Njoki's mother says.

"Don't let another child die like Njoki."

You may also be interested in:

Getty Images/BBC A woman looking at her mobile phone and the graphic BBC News AfricaGetty Images/BBC

Go to BBCAfrica.com for more news from the African continent.

Follow us on Twitter @BBCAfrica, on Facebook at BBC Africa or on Instagram at bbcafrica

BBC Africa podcasts

Federal judge says voice-over artists' AI lawsuit can move forward

12 July 2025 at 11:00
BBC Paul Skye Lehrman and Linnea Sage, who claim their voices were stolen, sit in armchairs with neutral expressions.BBC
Paul Skye Lehrman and Linnea Sage have filed a class action lawsuit against Lovo

A federal judge in New York has allowed a lawsuit to move forward from two voice-over artists alleging their voices were stolen by an AI voice startup.

The judge dismissed artists Paul Skye Lehrman and Linnea Sage claims that their voices were subject to federal copyright.

But claims from the artists of breach of contract and deceptive business practices, as well as separate copyright claims alleging that the voices were improperly used as part of the AI's training data, will, however, move forward.

California-based Lovo Inc. had asked for the case to be dismissed entirely. The company has not yet responded to the BBC's request for comment.

The judge's decision comes after a flood of cases from artists against artificial intelligence companies alleging misuse of their work to train AI models.

The artists' attorney, Steve Cohen, has called the decision a "spectacular" victory for his clients, saying he was confident a future jury will "hold big tech accountable".

Lawyers for Lovo had called the artists' allegations a "kitchen sink approach" saying the artists' claims failed to make an actionable claim against the company.

The artists, a couple living in New York City, filed a proposed class action lawsuit in 2024 after learning alleged clones of their voices were for sale via Lovo's text-to-speech platform Genny.

The couple claim they were separately approached by anonymous Lovo employees for voice-over work through the online freelance marketplace Fiverr.

Lehrman was paid $1200 (around £890). Sage received $800 (almost £600).

In messages shared with the BBC, the anonymous client can be seen saying Lehrman and Sage's voices would be used for "academic research purposes only" and "test scripts for radio ads" respectively.

The anonymous messenger said the voice-overs would "not be disclosed externally and will only be consumed internally".

Months later, while driving near their home in New York City, the couple listened to a podcast about the ongoing strikes in Hollywood and how artificial intelligence (AI) could affect the industry.

This episode had a unique hook – an interview with an AI-powered chatbot, equipped with text-to-speech software. It was asked how it thought the use of AI would affect jobs in Hollywood.

But, when it spoke, it sounded just like Mr Lehrman.

"We needed to pull the car over," Mr Lehrman told the BBC in an interview last year. "The irony that AI is coming for the entertainment industry, and here is my voice talking about the potential destruction of the industry, was really quite shocking."

Upon returning home, the couple found voices with the names Kyle Snow and Sally Coleman available for use by paid Lovo subscribers.

They later found Sage's alleged clone voicing a fundraising video for the platform –while Lehrman's had been used in an advertisement on the company's YouTube page.

The company eventually removed the voices, saying both voices were not popular on the platform.

The case is now set to move ahead in the US District Court in Manhattan.

Heatwave spreads to Scotland and Northern Ireland

12 July 2025 at 11:35
PA Media A woman wearing a black, white, yellow, and orange striped jumpsuit holds an umbrella in the sun. A man wearing a grey shirt and white shorts holds her hand and walks with her.PA Media

Northern Ireland and Scotland will see temperatures soar as the UK's third heatwave of the year spreads across the country.

Scotland is likely to see its warmest day of the year with temperatures of up to 31C. Northern Ireland could potentially the mercury rise above 29.5C - the highest recorded temperature so far this year.

For England and Wales, temperatures are expected to be widely in the high 20s to low 30s with the south-west Midlands and south-east Wales predicted to see the hottest temperatures.

However, for eastern parts of England, an easterly breeze will bring slightly cooler temperatures though most areas will still meet heatwave thresholds.

On Friday, Astwood Bank in the West Midlands recorded the highest temperature of 34.7C.

Amber heat health alerts for southern England, the Midlands, and East Anglia will remain in place until Monday, the UK Health Security Agency said.

Less severe yellow warnings remain in place for northern England, while Scotland and Northern Ireland face warnings of wildfires on Saturday and Sunday.

Yellow weather alerts are issued during periods that are only likely to affect those who are particularly vulnerable, such as the elderly, and those with existing health conditions.

Amber alerts are issued in situations that could put the whole population at risk.

For the thousands expected to attend the Wimbledon finals this weekend, temperatures in south-west London will remain high on Saturday and are expected to reach 30C, possibly 32C in some areas, according the Met Office.

Sunday will see a slight dip to 29C in daytime highs, but the heat will remain with a chance of some places around London seeing 30C or above.

Getty Images Tennis player Aryna Sabalenka holds ice on her head and covers herself with a towel during the Ladies' Singles semi-final at Wimbledon on 10 July 2025 in London, England.Getty Images
World number one Aryna Sabalenka said conditions were "super hot" during her semi-final on Thursday

This year, Wimbledon has faced some of the hottest temperatures in its 148-year history and has a heat rule in place for all singles matches.

The men's singles semi-final on Friday between Carlos Alcaraz and Taylor Fritz was stopped twice in less than five minutes due to fans in the crowd requiring medical attention.

Temperatures on Centre Court reached a sweltering 32C on Friday.

Tournament organisers have added more free water refill points on the grounds and increased reminders for fans to take sun precautions and seek shade.

Getty Images Children splash through cooling waters of the fountains in Leicester Square, on 11 July 2025, in London, England.Getty Images

Fire chiefs have also warned people of the increased risk of drowning when trying to keep cool, urging parents to supervise their children at all times around the water.

Dry and hot conditions also make wildfires a crucial concern, with the risk currently rated at "severe" in London by the Natural Hazards Partnership.

"Our experience tells us that wildfires can start in an instant and escalate rapidly. That's why we're asking everyone to stay alert and act responsibly," the National Fire Chiefs Council (NFCC) chairman Phil Garrigan said.

National Rail has warned commuters of possible disruption to travel this weekend as overhead power lines and rails could be affected by the heat.

On Friday, more than seven million people across England and Wales were affected by hosepipe bans, restricting activities including watering of gardens, cleaning cars and filling paddling pools.

The heatwave will be over for most on Monday as cooler Atlantic air spreads, bringing cloud and some showers to northern and western areas.

Scientists warn that extreme weather conditions are made more likely as a result of manmade climate change.

'They were just kids': Mother mourns sons killed in Israeli strike while waiting for aid

12 July 2025 at 09:12
BBC Iman al-Nouri weeps while talking about the Israeli strike that killed two of her sons and seriously wounded anotherBBC
Two of Iman al-Nouri's five sons were killed on Thursday's Israeli strike, while a third was seriously wounded

Iman al-Nouri's youngest son, two-year-old Siraj, woke up crying from hunger on Thursday and asked to get some nutritional supplements.

Siraj's 14-year-old cousin, Sama, agreed to take him and two of his older brothers - Omar, nine, and Amir, five - to the Altayara health clinic in Deir al-Balah, central Gaza.

"The [medical] point was still closed, so they were sitting on the pavement when suddenly we heard the sound of the strike," Iman told a local journalist working for the BBC.

"I went to [my husband] and said: 'Your children, Hatim! They went to the point.'"

Family handout Iman al-Nouri's son, AmirFamily handout
Amir, five, was killed instantly in the Israeli strike, according to Iman

Warning: This piece contains graphic descriptions of death and violence

Iman, a 32-year-old mother of five, rushed to the scene after hearing the strike, only to find her sons and niece lying on a donkey cart that was being used to transport casualties to the hospital because there were no ambulances.

Amir and Sama were among the dead, while Omar and Siraj were seriously wounded.

"Omar still had some breath in him. They tried to revive him," Iman recalled. "Omar needed blood, and it took them an hour to get it. They gave it to him, but it was in vain."

"Why are they gone? Why? What did they do wrong?" she asked.

"They had dreams just like any other children in the world. If you gave them a small toy, they'd be so happy. They were just kids."

Family handout Iman al-Nouri's son Omar (right) and one of his elder brothersFamily handout
Nine-year-old Omar (right), pictured with his elder brother, died of his wounds in hospital

Iman said Siraj's head was bleeding and he had lost an eye – an image that she cannot now get out of her head.

"He had fractures in his skull and... according to the doctor, not just bleeding, but [a major haemorrhage] on his brain," she added. "How long can he stay like this, living on oxygen? Two are already gone. If only he could help me hold on a little longer."

Tragically, doctors have said they are unable to treat Siraj.

"Since yesterday at 07:00 until now, he's in the same condition. He's still breathing, his chest rises and falls, he still has breath in him. Save him!" she pleaded.

Family handout Iman al-Nouri's son, SirajFamily handout
Iman said doctors had told her that they were unable to treat two-year-old Siraj

A spokesperson for the US-based aid group Project Hope, which runs the Altayara clinic, told the BBC that the strike happened at around 07:15.

Women and children were waiting outside before it opened at 09:00, in order to be first in line for nutrition and other health services, Dr Mithqal Abutaha said.

CCTV footage of the Israeli air strike shows two men walking along a street, just metres away from a group of women and children. Moments later, there is an explosion next to the men and the air is filled with dust and smoke.

In a graphic video showing the aftermath of the attack, many dead and severely wounded children and adults are seen lying on the ground.

"Please get my daughter an ambulance," one woman calls out as she tends to a young girl. But for many it was too late for help."

Dr Abutaha said 16 people were killed, including 10 children and three women.

The Israeli military said it targeted a "Hamas terrorist" and that it regretted any harm to what it called "uninvolved individuals", while adding that the incident was under review.

Project Hope said the strike was "a blatant violation of international humanitarian law, and a stark reminder that no one and no place is safe in Gaza".

Dr Abutaha said it was "unbearable" when he found out that people were killed "where they [were] seeking their basic humanitarian and human rights".

He questioned the Israeli military's statement on the strike, including its expression of regret, saying that it "cannot bring those patients, those beneficiaries back alive".

He also said that the clinic was a UN-recognised, "deconflicted humanitarian facility", and that no military actions should have taken place nearby.

Anadolu via Getty Images Palestinians hold out pans at a charity kitchen in the al-Rimal neighbourhood of Gaza City (11 July 2025)Anadolu via Getty Images
The UN says there are thousands of malnourished children across Gaza

Iman said her children used to go to the clinic every two or three days to get nutritional supplements because she and Hatim were not able to give them enough food.

"Their father risks his life just to bring them flour. When he goes to Netzarim [military corridor north of Deir al-Balah], my heart breaks. He goes there to bring food or flour."

"Does anyone have anything? There's no food. What else would make a child scream if he didn't want something?"

Israel imposed a total blockade of aid deliveries to Gaza at the start of March and resumed its military offensive against Hamas two weeks later, collapsing a two-month ceasefire. It said it wanted to put pressure on the Palestinian armed group to release Israeli hostages.

Although the blockade was partially eased in late May, amid warnings of a looming famine from global experts, there are still severe shortages of food, as well as medicine and fuel.

The UN agency for Palestinian refugees (Unrwa) says there are thousands of malnourished children across the territory, with more cases detected every day.

Dr Abutaha said Project Hope had also noticed an alarming rise in cases of malnutrition among adults, which they had not observed before in Gaza.

In addition to allowing in some UN aid lorries, Israel and the US helped set up a new aid distribution system run by the Gaza Humanitarian Foundation (GHF), saying they wanted to prevent Hamas from stealing aid. But since then, there have been almost daily reports of people being killed by Israeli fire while seeking food.

The UN human rights office said on Friday that it had so far recorded 798 such killings, including 615 in the vicinity of the GHF's sites, which are operated by US private security contractors and located inside military zones in southern and central Gaza. The other 183 killings were recorded near UN and other aid convoys.

The Israeli military said it recognised there had been incidents in which civilians had been harmed and that it was working to minimise "possible friction between the population and the [Israeli] forces as much as possible".

The GHF accused the UN of using "false and misleading" statistics from Gaza's Hamas-run health ministry.

Iman al-Nouri (2nd right), her husband Hatim (right) and two of their sons look at photos on a mobile phone
Iman said a ceasefire "means nothing to me after my children are gone"

Dr Abutaha called on Israel to allow in enough food, medicine and fuel to meet the basic humanitarian needs of everyone in Gaza, so that "everyone could have a dignified life".

He also expressed concern that people were being given "false hope" that Israel and Hamas could soon agree a new ceasefire deal.

Israeli Prime Minister Benjamin Netanyahu said on Thursday that an agreement on a 60-day truce and the release of 28 hostages could be just days away.

But Palestinian officials said on Friday night that the indirect talks in Qatar were on the brink of collapse because of significant gaps remaining on issues like Israeli troop withdrawals and Hamas's rejection of an Israeli plan to move all of Gaza's population into a camp in Rafah.

"Every day they talk about a ceasefire, but where is it?" Iman said.

"They've killed us through hunger, through gunfire, through bombs, through air strikes. We've died in every possible way."

"It's better to go to God than stay with any of them. May God give me patience."

Alcaraz expects to be 'pushed to limit' by Sinner at Wimbledon final

12 July 2025 at 05:02

Alcaraz expects to be 'pushed to limit' by Sinner

Jannik Sinner and Carlos Alcaraz hug after their epic French Open finalImage source, Getty Images
Image caption,

Carlos Alcaraz (right) beat Jannik Sinner in a deciding set tie-break at the French Open last month

  • Published

Wimbledon 2025

Venue: All England Club Dates: 30 June-13 July

Coverage: Live across BBC TV, radio and online with extensive coverage on BBC iPlayer, Red Button, Connected TVs and mobile app. Full coverage guide.

The last time Carlos Alcaraz and Jannik Sinner met in a Grand Slam final it turned into an epic encounter lasting almost five and a half hours.

Now, 35 days on from that French Open thriller, they will meet again in Sunday's men's final at Wimbledon.

After ending Novak Djokovic's hopes of achieving a 25th Grand Slam title, world number one Sinner was asked what fans could expect when he faces Alcaraz once again.

"We saw the last final - you never know [what will happen]," he said.

"Hopefully it's going to be a good match like the last one, I don't know if it can be better because I don't think it's possible.

"But we will do our best."

For those who somehow missed that epic encounter at Roland Garros, here's a reminder.

Alcaraz, the defending champion, recovered from two sets down - saving three championship points on the way - to beat Sinner.

Both players pushed themselves and each other to the limit in a classic contest that showcased all of their shot-making, athleticism and resilience.

Despite it being an all-time classic, Alcaraz has not yet got around to watching it back.

"I've just seen a few clips and a few points but not that much," he said after his semi-final win over Taylor Fritz.

"I am still thinking about that moment sometimes. It was the best match I have ever played so far.

"I'm not surprised he pushed me to the limit. I expect that on Sunday."

Advantage Alcaraz?

To play this video you need to enable JavaScript in your browser.

This video can not be played

Media caption,

'He always walks towards the fire' - why Alcaraz comes through in 'clutch' moments

Sinner and Alcaraz are very much the dominant force in the men's game as we enter the post-'Big Three' era of Roger Federer, Rafael Nadal and Djokovic.

The pair have won the last six majors between them and will wrap up a seventh on Sunday.

Only once before in the Open era have the top two seeds met in the men's singles final at the first three Grand Slams of the year - and that was in 1978.

"I reach the final stages, I reach the semis of every slam this year, but I have to play Sinner or Alcaraz," Djokovic said following his defeat.

"These guys are fit, young, sharp. I feel like I'm going into the match with tank half empty."

But Sinner does not believe his and Alcaraz's recent dominance can be mentioned in the same breath as that of Federer, Nadal and Djokovic.

"You cannot compare what the big three did for 15-plus years," he said

"Six Grand Slams are one-and-a-half years. It's not that big yet."

Alcaraz is 22 and Sinner is 23, meaning there will be plenty more years of the two meeting in major finals.

Right now it is Alcaraz who has the measure of Sinner, with the world number two winning the past five meetings between them.

Since the start of his title-winning run at the China Open in September 2023, Sinner has lost just 11 of the 127 matches he has contested - meaning almost half of his losses in that time have been to Alcaraz.

But the last time they met at Wimbledon back in 2022, it was Sinner who came out on top.

"I remember that match, but it was three years ago," Alcaraz added. "We are completely different player on grass, but on all surfaces.

"I'm pretty sure that it's going to be different."

Graphic showing Sinner and Alcaraz record

To play this video you need to enable JavaScript in your browser.

This video can not be played

Media caption,

'Djokovic leaves the stage to Sinner'

Related topics

请教 PVE 网络问题

12 July 2025 at 10:49
newbee2000:

J4125 小主机,4 个网口,底层安装了 PVE 系统,设置情况如下:
1 ,enp2s0 和 enp3s0 直通给 iKuai ,分别做 wan 口和 lan 口;
2 ,enp4s0 直通给了 iStoreOS ;
3 ,最后一个网口 enp5s0 作为 pve 的管理口,自动生成了一个虚拟网卡 vmbr0 。

目前的状态:lan 口( enp3s0 )接到了交换机上了,enp4s0 和 enp5s0 也接到了交换机上,这样逻辑比较清晰,每个网口都是独立接入网络,但是我想 4s0 和 5s0 是不是可以在小主机内部就能和 3s0 连接上,这样就不用再插两根网线了。

查询到的方案:新建一个 Linux bridge ,桥接端口那里填空,这样就创建了一个内部的桥接网络,可以不用插网线,四个网口就可以内部互联互通,但是我测试过后发现不可行,是因为我 enp2s0 、3s0 、4s0 做了直通导致的吗?需要把每个物理网口都新建一个虚拟网卡吗?感谢大家指导!

兼职

12 July 2025 at 10:27
voxmachina: 目前工作双休,想找那种快递到小区的兼职有老哥们做过吗?上门取件的,不知道咋样。但是 boss 上好多骗子不知道还有没有啥好办法找找,或者其他兼职不知道咋样

苏州联通家宽被运营商劣化网络

By: mooyo
12 July 2025 at 10:12
mooyo:
  1. 没跑 pcdn
  2. 没申请公网 ip ,目前也没有公网 ipv4

目前的症状是晚上 1 点到 8 点 10 分是正常状态,早上 8 点 10 分以后到几个国内服务器的延迟+10ms ,到国内任意服务器丢包率为 3%(测试了 119.29 以及 qq.com 解析出来的几个 ip )

症状应该是三天前出现,尚不知是运营商后台做的整体调整还是被拉入了什么奇怪的黑名单。

询问装维老哥表示他后台看我这边一切正常。

苹果的这些逆天音量 bug 是不是没人在乎

By: movq
12 July 2025 at 09:53
movq:
  • bug1: AirPodsPro2 耳机连接到 mac 后, 音量一律重置为 50%。就算连接后手动调整了音量,但在播放的那一瞬间又自动回到了 50%

fAD5baeiskYlEuH

  • bug2: iphone 连接 AirPodsPro2, 同时设置来电音量为 100%,那么接到电话后耳机的音量也是 100%。我寻思设置来电音量是为了扬声器模式下声音大/闹钟能把自己吵醒,耳机音量怎么会跟这个设置一起走?

这些逆天 bug 每次一发生就是对我的耳朵的危害,如此反人类的 bug 难道没人发现也没人在乎?

中国电信多次提醒换 sim 卡,请教专业人士有必要吗

By: mogging
12 July 2025 at 09:46
mogging: 如题,多次收到短信和电话提醒,请教专业人士,换卡有何利弊,谢谢!



[中国电信] 尊敬的中国电信用户,因国际/港澳台地区运营商陆续关闭 2G/3G 网络,升级 VOLTE 网络,您的 SIM 卡在国际/港澳台地区部分方向(美国(包括波多黎各、美属维京群岛、夏威夷)、日本、澳大利亚、新加坡、中国台湾、中国澳门等)可能无法登网或语音通话。为保障您的通信畅通,建议您尽快通过中国电信 APP 线上办理或携带本人身份证原件到当地电信营业厅更换 SIM 卡,若您已换卡,请忽略本信息!

PDF 解析工具,大模型开发神器

By: lpdswing
12 July 2025 at 09:19
lpdswing:

项目地址

https://github.com/lpdswing/mineru-web

MinerU Web

Python 3.10Vue 3LicenseDocker Ready

🌟 项目简介

MinerU Web 是一个现代化的文档智能处理平台,基于先进的 AI 技术,提供文档解析、信息提取和智能分析功能。本项目采用前后端分离架构,结合容器化技术,为用户提供高效、可靠的文档处理解决方案。

✨ 核心特性

  • 🚀 高性能架构:基于 FastAPI 和 Vue 3 构建,提供卓越的性能和用户体验
  • 🤖 AI 驱动:集成先进的 AI 模型,实现智能文档解析和信息提取
  • 📊 多格式支持:支持 PDF 、Word 、Excel 等多种文档格式的处理
  • 🔄 异步处理:采用异步任务队列,支持大规模文档并发处理
  • 🛡️ 安全可靠:完善的权限控制和数据加密机制
  • 🐳 容器化部署:提供完整的 Docker 支持,一键部署
  • 🌐 跨平台:支持多种硬件架构,包括 x86_64 和 ARM64

🛠️ 技术栈

后端

  • FastAPI:高性能异步 Web 框架
  • Redis:分布式缓存和任务队列
  • MinIO:高性能对象存储
  • SQLite:轻量级数据库
  • Docker:容器化部署

前端

  • Vue 3:渐进式 JavaScript 框架
  • Element Plus:企业级 UI 组件库
  • TypeScript:类型安全的 JavaScript 超集
  • Vite:下一代前端构建工具

🚀 快速开始

前置准备

  1. 下载模型文件:
# 克隆项目
git clone https://github.com/lpdswing/mineru-web.git
cd mineru-web

# 下载模型文件
# 更新为 2.0 模型
python download_models.py modelscope
或
python download_models.py huggingface
  1. 配置 MinIO 地址:
# 复制环境变量模板
cp .env.example .env

# 编辑 .env 文件,修改 MinIO 地址
MINIO_ENDPOINT=your-minio-address:9000
  1. 配置 mineru.json
# 复制 mineru 配置文件模板
cp mineru.example.json mineru.json

# 修改 endpoint
    "bucket_info": {
        "mds": [
            "minioadmin",
            "minioadmin",
            "http://your-minio-address:9000"
        ]
    },

使用 Docker Compose 部署

# 启动服务
docker-compose up -d

# 参考以下网址安装 mc
https://min.io/docs/minio/linux/reference/minio-mc.html

# 添加 minio 的 alias
mc alias set local http://localhost:9000 minioadmin minioadmin

# 设置 mds 桶为 public
mc anonymous set download local/mds

界面展示

首页

首页 - 展示系统概览和快速操作

文件管理

文件管理 - 支持多种文档格式的上传和管理

文档预览

文档预览 - 智能解析和展示文档内容

文件上传

文件上次 - 批量上传

本地开发环境

# 启动本地开发环境
docker-compose -f docker-compose.local.yml up -d

📦 项目结构

mineru-web/
├── backend/           # 后端服务
│   ├── app/          # 应用代码
│   ├── tests/        # 测试用例
│   └── Dockerfile    # 后端 Docker 配置
├── frontend/         # 前端应用
│   ├── src/         # 源代码
│   ├── public/      # 静态资源
│   └── Dockerfile   # 前端 Docker 配置
├── models/          # AI 模型文件
├── magic-pdf.json   # 模型配置文件
├── docker-compose.yml           # 生产环境配置
├── docker-compose.local.yml     # 开发环境配置
└── README.md        # 项目文档

🔧 配置说明

环境变量

  • REDIS_HOST:Redis 服务器地址
  • MINIO_ENDPOINT:MinIO 服务器地址
  • DATABASE_URL:数据库连接 URL

端口说明

  • 8088:Web 界面
  • 8000:后端 API
  • 9000:MinIO API
  • 9001:MinIO 控制台
  • 6379:Redis

🤝 贡献指南

我们欢迎各种形式的贡献,包括但不限于:

  • 提交问题和建议
  • 提交代码改进
  • 改进文档
  • 分享使用经验

📄 开源协议

本项目采用 AGPL-3.0 协议开源,详情请参见 LICENSE 文件。

📝 更新日志

[2.0.0] - 2025-07-07

  • 后端
    • 适配 Mineru 2.1.0 版本
    • 更新模型下载脚本
    • 更新设置支持 pipeline 和 vlm-*动态更新
    • 后端支持预加载 vlm 模型
  • 前端
    • 更换 markdown 显示插件为 mark-it-down,支持公式展示
    • 文件列表增加 backend 标签

🌟 致谢


📈 Star 趋势

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=lpdswing/mineru-web&type=Timeline&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=lpdswing/mineru-web&type=Timeline" /> Star History Chart </picture>

2 晚上用 cursor 做个在线测试性取向的网站

By: NineTree
12 July 2025 at 09:02
NineTree:

一句话介绍网站

免费无登录多语言性取向测试, 发现自己了解自己

网站地址

https://gaytest.app

困惑

做多语言是依靠每个网页重新生成了 1 遍,太麻烦了,要是每次优化改动那对应的语言要全部重新改动。 了解到有一种 n8n 工作流,也许能帮我简化一下

不足之处

测试题还是少了一些,而且因为是前端写的,答案其实是固定的,如果有意识的避免回答也能得到想要的测试结果

网站截图

gaytest.png

美团外卖早餐免单/奶茶咖啡免单上线,可自行赠券互换

By: KIC
12 July 2025 at 08:21
KIC:

美团 15-10/5-5 无门槛券领取\

口令:💰zzMjFlMmZhZTA💰

领取后外卖首页膨胀下,直接领取汉堡免单,然后进入神枪手页面随机奶茶/早餐免单券送达。\


自取券,线下自提专用\


免单早餐外卖,需凑起送\

饿了么 15-14 领券\

¥ nRD74bDU92p ¥/ HU7405


全文链接均含 aff ,一单赚几分钱,用心编辑内容推送优惠给各位,介意勿扰

❌
❌