From 4bafd7784f42b781c4396f0979b58809d4d16a1b Mon Sep 17 00:00:00 2001 From: SansGuidon Date: Sun, 26 Jan 2025 09:09:43 +0000 Subject: [PATCH] feat(autotag) rules and tags --- auto_tag_plugin/auto_tag_plugin.php | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/auto_tag_plugin/auto_tag_plugin.php b/auto_tag_plugin/auto_tag_plugin.php index 130f02a..6ef3033 100644 --- a/auto_tag_plugin/auto_tag_plugin.php +++ b/auto_tag_plugin/auto_tag_plugin.php @@ -6,16 +6,16 @@ function auto_tag_plugin_init(ConfigManager $conf) { // Configure keywords and tags based on provided rules $conf->setEmpty('plugins.AUTO_TAG_KEYWORDS', [ - 'accessibility,accessibilité,web development,web design,html,css' => 'web', + 'accessibility,accessibilité,web development,web design,html,css,websites' => 'web', 'accounting,comptabilité' => 'accounting', - 'addict,addiction,drugs,drogues,cigarettes,bonbons,dopamine,sucre,nicotine,hooked' => 'addiction', + 'addict,addiction,addicted,drugs,drogues,cigarettes,bonbons,dopamine,sucre,nicotine,hooked' => 'addiction', 'adhd,tdah' => 'adhd', 'alternative,alternatives,compatible,compatibles,migrated,migration' => 'alternatives', 'ads,advertisements,publicités,spam' => 'ads', 'anxiété,anxieux,anxieuse,anxiété,burnout,méditation,cardio,santé,health,healthy' => 'health-and-wellness', 'architecture,architectures' => 'architecture', 'archive,archiving,archives,archivage' => 'archiving,archives', - 'art,arts' => 'culture', + 'art,arts,folklore' => 'culture', 'ask hn,news.ycombinator.com/item,reddit.com/r/' => 'debate', 'autism,autisme,autist,autiste' => 'autism', 'belgian,belgium,belge,belgique' => 'belgium', @@ -40,7 +40,7 @@ function auto_tag_plugin_init(ConfigManager $conf) 'database,databases,RDS,base de données' => 'databases', 'data collection,collecte de données' => 'data-collection', 'data transfer,transfert de données' => 'data-portability', - 'debug,troubleshoot,diagnose,résoudre,diagnostiquer,troubleshooting,find a solution' => 'problem-solving,guides-and-tips,debugging', + 'debug,troubleshoot,diagnose,résoudre,diagnostiquer,troubleshooting,find a solution,fix bugs' => 'problem-solving,guides-and-tips,debugging', 'design,designs' => 'design', 'development workflow,devex,flux de développement' => 'devex', 'disk,disque,disques' => 'storage', @@ -61,13 +61,13 @@ function auto_tag_plugin_init(ConfigManager $conf) 'logiciel libre,free software,logiciel gratuit,free to use' => 'free-software', 'from home,remote work,work remote,travail à distance,télétravail' => 'remote-work', 'frustrated,frustration,am pissed,I hate' => 'rant', - 'big-tech,gafam,degoogling,google,degoogle,grandes entreprises technologiques' => 'big-tech', + 'big-tech,gafam,degoogling,google,degoogle,grandes entreprises technologiques,meta quest,meta ai' => 'big-tech', 'game,jeu vidéo,game dev,jeux,jeux vidéo,games,gameplay' => 'games,geek,culture', 'gamedev,building game,développement de jeux' => 'gamedev,games,geek,culture', 'gratuit,free' => 'free', 'gitops,gitlab,github actions,devops,SRE,ci/cd,platform-engineering,ci pipeline,application deployment,dagger,renovatebot,dependabot,continuous integration,site reliability eng' => 'devops', 'git,gitlab,jujutsu,pijul,mercurial,svn,version control,contrôle de version' => 'version-control', - 'gpt,chatgpt,llm,llms,artificial intelligence,intelligence artificielle,IA,l\'ia,ai,ai model,an ai' => 'ai', + 'gpt,chatgpt,llm,llms,artificial intelligence,intelligence artificielle,IA,l\'ia,ai,ai model,an ai,metal ai,auto-coder,autonomous AI' => 'ai', 'hacking,piratage' => 'hacking', 'nutrition,food,alimentation,nourriture,recette,recette de cuisine,recettes de cuisine,ingrédients,cette recette,beurre,cuisine' => 'food', 'history,histoire,documentaire,documentary' => 'history', @@ -102,41 +102,41 @@ function auto_tag_plugin_init(ConfigManager $conf) 'programming languages,langages de programmation' => 'code,computer-languages', 'publishing,publier,publication' => 'publishing', 'quality,qualité' => 'quality', - 'recommandations,recommendation,conseils' => 'recommandations,recommendations', + 'recommandations,recommendation,conseils' => 'recommendations', 'recycling,sustainable,green web,climate,recyclage,web écologique,climat,ai emissions,water use,emissions produced,amount of co2,global co2,co2 emissions,car bloat,environnement,environment,environmental,environmentally,plasic waste' => 'ecology', - 'relationship,relationships,de rencontre' => 'relationships', + 'relationship,relationships,de rencontre,meaningful connections' => 'relationships', 'religion,chretiens,bible,coran,islam,musulmans,croyants,athée,la foi,église' => 'philosophy', 'reviews,critique,avis' => 'reviews', 'rss,rss feed,miniflux,web reader,lecteur web' => 'content-aggregation,content-curation', 'ruby,rails app,applications ruby' => 'ruby,software-development,code', - 'science,sciences' => 'science', - 'scripting,jq,curl,wget,script,bash,terminal,bash script,script python,python script,lua,script shell,script bash,shell script' => 'scripting', + 'science,sciences,scientifique,scientist' => 'science', + 'scripting,jq,curl,wget,script,bash,terminal,bash script,#!/bin/bash,script python,python script,lua,script shell,script bash,shell script' => 'scripting', 'search engine,moteur de recherche' => 'search-engines', - 'security,permission,sécurité,anti vol,anti-vol,secure,data privacy,privacy,private,degoogl,gdpr,data protection,online tracking,user profiling,anonymo,anonymi,surveillance,malware,spyware,decentrali,secrets,privacy matters,vpn,passkey,protéger,password manager' => 'privacy-and-security', + 'security,permission,sécurité,anti vol,anti-vol,secure,data privacy,privacy,private,degoogl,gdpr,data protection,online tracking,user profiling,anonymo,anonymi,surveillance,malware,spyware,decentrali,secrets,privacy matters,vpn,passkey,protéger,password manager,vie privée' => 'privacy-and-security', 'simplicity,minimal,declutter,stopped using,simple,simplification,simplifier,reduction in,no longer needed,minimalisme,simplicité,réduction' => 'minimalism', 'small web,indie web,indieweb,petit web' => 'small-web', 'smartphone,android,mobile,phone,téléphone,sms' => 'mobile', 'snippet,extrait de code' => 'code', 'static site,static-site,site statique' => 'static-site', - 'social media,réseau social,fediverse,fédiverse,réseaux sociaux,social networks,social network' => 'social-media', + 'social media,réseau social,fediverse,fédiverse,réseaux sociaux,social networks,social network,meta quest' => 'social-media', 'society,societies' => 'society', 'teamwork,collaborat,équipe,cooperat,coordinat,travail équipe' => 'collaboration', 'technology,technologie' => 'technology', 'template,modèle' => 'template', - 'terminal,tools-and-resources,terminaltrove' => 'terminal,tools-and-resources', + 'terminal,terminaltrove' => 'terminal,tools-and-resources', 'test,tester' => 'testing', 'markdown,text files,fichiers texte,formats,text-based,plaintext,markup language,markdown,plain text,basé sur du texte,langage balisé' => 'plaintext,formats,text-files', 'time to update,maintainers,tech-debt,legacy code,long term software,temps pour mettre à jour' => 'maintenance,tech-debt', 'to do,to-do,à faire' => 'todo', - 'tool,resources,a script,outil,a collection,a catalog,awesome list,links,outils,ressources,password manager,logiciels' => 'tools-and-resources', + 'tool,tools-and-resources,resources,a script,outil,a collection,a catalog,awesome list,links,outils,ressources,password manager,logiciels' => 'tools-and-resources', 'training,course,conference talk,learning,homeschool,expert,specializ,tacit knowledge,tribal knowledge,formation,cours,conférence,apprentissage' => 'education', '.txt,text-based,fichiers txt' => 'text-files', 'ui,interfaces utilisateur' => 'ui', 'ux,the experience of,usable,uxer,user experience,expérience utilisateur' => 'ux', - 'vps,serveur privé virtuel' => 'cloud,vps,hosting', + 'vps,serveur privé virtuel' => 'cloud,privacy-and-security,hosting', 'web archive,web archiving,save any website,bookmarks,wayback machine,archive.org,archivebox,archive web' => 'web-archiving', 'webring' => 'discovery,small-web,webring', - 'wordpress,personal website,blog roll,blogroll,blogosphere,webring,digital garden,to blog,blogs' => 'blogging,writing,discovery,small-web', + 'wordpress,personal website,personal websites,blog roll,blogroll,blogosphere,webring,digital garden,to blog,blogs' => 'blogging,writing,discovery,small-web', 'work,travail,contract work,previous job,my work,coworkers,coworker,the job,workgroup' => 'work', 'youtube.com,invidious,peertube,watch?v' => 'video', 'zoemp,zoemp.be' => 'zoemp'