Add: Features

pull/172/head
LiLittleCat 2 years ago
parent e807343700
commit b9375be969
  1. 11
      data/features.json
  2. 6
      data/websites.json
  3. 78
      pom.xml
  4. 30
      src/main/java/com.lilittlecat/app/Features.java

@ -0,0 +1,11 @@
{
"free": 2,
"free_quota": 1,
"gpt4_supported": 0.5,
"more_than_chat": 0.5,
"login_required": -1,
"vpn_required": -1,
"api_key_required": -1,
"follow_on_wechat_required": -1,
"community_recommendation": 0.5
}

@ -0,0 +1,6 @@
{
"websites": {
"normal": [],
"abnormal": []
}
}

@ -0,0 +1,78 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.lilittlecat</groupId>
<artifactId>awesome-free-chatgpt</artifactId>
<version>0.0.1</version>
<packaging>jar</packaging>
<name>awesome-free-chatgpt</name>
<url>https://freechatgpt.lilittlecat.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!-- <repositories>-->
<!-- <repository>-->
<!-- <id>sonatype-nexus-snapshots</id>-->
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
<!-- <snapshots>-->
<!-- <enabled>true</enabled>-->
<!-- </snapshots>-->
<!-- </repository>-->
<!-- </repositories>-->
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.20</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.9.0</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-grid</artifactId>
<version>4.9.0</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.9.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.15.3</version>
</dependency>
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>2.0.20</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>5.8.11</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

@ -0,0 +1,30 @@
package com.lilittlecat.app;
import lombok.Getter;
/**
* @author <a href="https://github.com/LiLittleCat">LiLittleCat</a>
* @since 2023/5/7
*/
@Getter
public enum Features {
FREE("free", "🆓", 2f),
FREE_QUOTA("free_quota", "🔓", 1f),
GPT4_SUPPORTED("gpt4_supported", "🧠", 0.5f),
MORE_THAN_CHAT("more_than_chat", "💬", 0.5f),
LOGIN_REQUIRED("login_required", "🔒", -1f),
VPN_REQUIRED("vpn_required", "🌐", -1f),
API_KEY_REQUIRED("api_key_required", "🔑", -1f),
FOLLOW_ON_WECHAT_REQUIRED("follow_on_wechat_required", "👀", -1f),
COMMUNITY_RECOMMENDATION("community_recommendation", "🌟", 0.5f);;
private final String value;
private final String label;
private final Float score;
Features(String value, String label, Float score) {
this.value = value;
this.label = label;
this.score = score;
}
}
Loading…
Cancel
Save