diff --git a/.gitignore b/.gitignore index 97e947d..8f6acb6 100644 --- a/.gitignore +++ b/.gitignore @@ -30,67 +30,14 @@ go.work.sum # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 # User-specific stuff -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/**/usage.statistics.xml -.idea/**/dictionaries -.idea/**/shelf - -# AWS User-specific -.idea/**/aws.xml - -# Generated files -.idea/**/contentModel.xml - -# Sensitive or high-churn files -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml -.idea/**/dbnavigator.xml - -# Gradle -.idea/**/gradle.xml -.idea/**/libraries - -# Gradle and Maven with auto-import -# When using Gradle or Maven with auto-import, you should exclude module files, -# since they will be recreated, and may cause churn. Uncomment if using -# auto-import. -# .idea/artifacts -# .idea/compiler.xml -# .idea/jarRepositories.xml -# .idea/modules.xml -# .idea/*.iml -# .idea/modules -# *.iml -# *.ipr - -# CMake -cmake-build-*/ - -# Mongo Explorer plugin -.idea/**/mongoSettings.xml - -# File-based project format -*.iws # IntelliJ out/ - +.idea +*.iml # mpeltonen/sbt-idea plugin .idea_modules/ -# JIRA plugin -atlassian-ide-plugin.xml - -# Cursive Clojure plugin -.idea/replstate.xml - -# SonarLint plugin -.idea/sonarlint/ # Crashlytics plugin (for Android Studio and IntelliJ) com_crashlytics_export_strings.xml @@ -106,11 +53,6 @@ fabric.properties # ---> VisualStudioCode .vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -!.vscode/*.code-snippets # Local History for Visual Studio Code .history/ diff --git a/README.md b/README.md index 69ebffa..48870ed 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # gitea-pages +> 新一代 Gitea Pages,替换之前的 caddy-gitea-proxy + +## TODO + +- [ ] CNAME 自定义域名 +- [ ] http01 自动签发证书 (CNAME) +- [ ] Web 钩子触发更新 +- [ ] 内容缓存 +- [ ] OAuth2 授权访问私有页面 diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..cf6f47c --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module code.d7z.net/d7z-project/gitea-pages + +go 1.23.2 diff --git a/main.go b/main.go new file mode 100644 index 0000000..7905807 --- /dev/null +++ b/main.go @@ -0,0 +1,5 @@ +package main + +func main() { + +}