The two leaders of Italy's ruling populist coalition on Monday threw their support behind the "yellow vest" protesters roiling neighbouring France.
He denounced the French government for protecting the elite and the privileged.
Matteo Salvini, his counterpart from the far-right, the anti-immigrant League, also backed the "yellow vest" protesters.
"I support honest citizens protesting against a president who governs against his people," Salvini said in a statement, while "firmly" condemning recent protest violence.
On Monday, Di Maio offered French protesters the use of their so-called Rousseau platform to improve organisation and "draw up an electoral programme".
"This system (Rousseau) is made for a horizontal and spontaneous movement such as yours and we would be happy if you want to use it," Di Maio wrote.
M5S has vaunted direct democracy since it began in 2009.
Through its Rousseau internet portal, it gathers the votes of members online to decide its policies, draft legislation and candidates.
The platform is presented by the party as a reflection of its unique commitment to grassroots democracy and a new politics.
But it has been criticised, notably by former members, for its lack of transparency and the leadership's tight control over its functioning.
"Like other governments, the French one thinks mainly about representing the interests of the elites, those who live from privileges, no longer those of the people," Di Maio wrote.
"In Italy, we have inverted this trend," Di Maio wrote, calling on French protesters to do likewise.
Around 50,000 "yellow vest" protesters took to the streets again on Saturday in cities around France to denounce Macron's centrist policies.
While the number of protesters has dwindled since the earliest protests, a smaller but increasingly radical core of "yellow vest" protesters remain determined to push on.
The demonstrations have been frequently violent since they began in late November, particularly on December 1 when crowds ransacked a museum in the Arc de Triomphe and daubed graffiti on the famed monument.
The French media has been targeted, while mock executions of Macron have also been a feature of some gatherings.
"Yellow vest" protests against fuel taxes began in rural and small-town France in late November, but then mushroomed into a wider revolt during December against the policies and governing style of 41-year-old Macron.
Italy's M5S-League coalition in June became the European Union's first populist-only government, taking over from the centre-left Democratic Party.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)