- commit
- 421f370
- parent
- 6ec5e62
- author
- Eric Bower
- date
- 2024-01-11 14:53:39 +0000 UTC
chore: update service intros
6 files changed,
+12,
-37
+3,
-7
1@@ -1,8 +1,6 @@
2 package feeds
3
4 import (
5- "fmt"
6-
7 "github.com/picosh/pico/shared"
8 "github.com/picosh/pico/wish/cms/config"
9 )
10@@ -24,10 +22,8 @@ func NewConfigSite() *shared.ConfigSite {
11 sendgridKey := shared.GetEnv("SENDGRID_API_KEY", "")
12 useImgProxy := shared.GetEnv("USE_IMGPROXY", "1")
13
14- intro := "To get started, enter a username and email.\n"
15- intro += "Then upload a file containing a list of rss feeds (e.g. ~/feeds.txt)\n"
16- intro += "Finally, send your file to us:\n\n"
17- intro += fmt.Sprintf("scp ~/feeds.txt %s:/", domain)
18+ intro := "To get started, enter a username.\n"
19+ intro += "To learn next steps go to our docs at https://pico.sh/feeds\n"
20
21 return &shared.ConfigSite{
22 Debug: debug == "1",
23@@ -45,7 +41,7 @@ func NewConfigSite() *shared.ConfigSite {
24 MinioURL: minioURL,
25 MinioUser: minioUser,
26 MinioPass: minioPass,
27- Description: "an rss-to-email digest service for hackers",
28+ Description: "An rss-to-email digest service for hackers",
29 IntroText: intro,
30 Space: "feeds",
31 AllowedExt: []string{".txt"},
+2,
-6
1@@ -1,8 +1,6 @@
2 package imgs
3
4 import (
5- "fmt"
6-
7 "github.com/picosh/pico/shared"
8 "github.com/picosh/pico/wish/cms/config"
9 )
10@@ -43,9 +41,7 @@ func NewConfigSite() *shared.ConfigSite {
11 useImgProxy := shared.GetEnv("USE_IMGPROXY", "1")
12
13 intro := "To get started, enter a username.\n"
14- intro += "Then create a folder locally (e.g. ~/imgs).\n"
15- intro += "Finally, send your images to us:\n\n"
16- intro += fmt.Sprintf("scp ~/imgs/*.jpg %s:/", domain)
17+ intro += "To learn next steps go to our docs at https://pico.sh/imgs\n"
18
19 cfg := shared.ConfigSite{
20 Debug: debug == "1",
21@@ -62,7 +58,7 @@ func NewConfigSite() *shared.ConfigSite {
22 MinioURL: minioURL,
23 MinioUser: minioUser,
24 MinioPass: minioPass,
25- Description: "a premium image hosting service for hackers.",
26+ Description: "An image hosting service for hackers.",
27 IntroText: intro,
28 Space: "imgs",
29 AllowedExt: []string{".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg"},
+2,
-7
1@@ -1,8 +1,6 @@
2 package lists
3
4 import (
5- "fmt"
6-
7 "github.com/picosh/pico/shared"
8 "github.com/picosh/pico/wish/cms/config"
9 )
10@@ -24,10 +22,7 @@ func NewConfigSite() *shared.ConfigSite {
11 useImgProxy := shared.GetEnv("USE_IMGPROXY", "1")
12
13 intro := "To get started, enter a username.\n"
14- intro += "Then create a folder locally (e.g. ~/blog).\n"
15- intro += "Then write your lists in plain text files (e.g. hello-world.txt).\n"
16- intro += "Finally, send your list files to us:\n\n"
17- intro += fmt.Sprintf("scp ~/blog/*.txt %s:/\n\n", domain)
18+ intro += "To learn next steps go to our docs at https://pico.sh/lists\n"
19
20 return &shared.ConfigSite{
21 Debug: debug == "1",
22@@ -44,7 +39,7 @@ func NewConfigSite() *shared.ConfigSite {
23 MinioURL: minioURL,
24 MinioUser: minioUser,
25 MinioPass: minioPass,
26- Description: "A microblog for your lists.",
27+ Description: "A microblog for your lists",
28 IntroText: intro,
29 Space: "lists",
30 AllowedExt: []string{".txt"},
+2,
-5
1@@ -1,8 +1,6 @@
2 package pastes
3
4 import (
5- "fmt"
6-
7 "github.com/picosh/pico/shared"
8 "github.com/picosh/pico/wish/cms/config"
9 )
10@@ -24,8 +22,7 @@ func NewConfigSite() *shared.ConfigSite {
11 useImgProxy := shared.GetEnv("USE_IMGPROXY", "1")
12
13 intro := "To get started, enter a username.\n"
14- intro += "Then all you need to do is send your pastes to us:\n\n"
15- intro += fmt.Sprintf("scp my.patch %s:/", domain)
16+ intro += "To learn next steps go to our docs at https://pico.sh/pastes\n"
17
18 return &shared.ConfigSite{
19 Debug: debug == "1",
20@@ -42,7 +39,7 @@ func NewConfigSite() *shared.ConfigSite {
21 MinioURL: minioURL,
22 MinioUser: minioUser,
23 MinioPass: minioPass,
24- Description: "a pastebin for hackers.",
25+ Description: "A pastebin for hackers.",
26 IntroText: intro,
27 Space: "pastes",
28 Logger: shared.CreateLogger(debug == "1"),
+1,
-5
1@@ -1,8 +1,6 @@
2 package pgs
3
4 import (
5- "fmt"
6-
7 "github.com/picosh/pico/shared"
8 "github.com/picosh/pico/wish/cms/config"
9 )
10@@ -27,9 +25,7 @@ func NewConfigSite() *shared.ConfigSite {
11 useImgProxy := shared.GetEnv("USE_IMGPROXY", "1")
12
13 intro := "To get started, enter a username.\n"
14- intro += "Then create a folder locally (e.g. ~/sites).\n"
15- intro += "Finally, send your files to us:\n\n"
16- intro += fmt.Sprintf("rsync ~/sites/* %s:/<project_name>", domain)
17+ intro += "To learn next steps go to our docs at https://pico.sh/pgs\n"
18
19 cfg := shared.ConfigSite{
20 Debug: debug == "1",
+2,
-7
1@@ -1,8 +1,6 @@
2 package prose
3
4 import (
5- "fmt"
6-
7 "github.com/picosh/pico/shared"
8 "github.com/picosh/pico/wish/cms/config"
9 )
10@@ -24,10 +22,7 @@ func NewConfigSite() *shared.ConfigSite {
11 useImgProxy := shared.GetEnv("USE_IMGPROXY", "1")
12
13 intro := "To get started, enter a username.\n"
14- intro += "Then create a folder locally (e.g. ~/blog).\n"
15- intro += "Then write your post in markdown files (e.g. hello-world.md).\n"
16- intro += "Finally, send your files to us:\n\n"
17- intro += fmt.Sprintf("scp ~/blog/*.md %s:/", domain)
18+ intro += "To learn next steps go to our docs at https://pico.sh/prose\n"
19
20 return &shared.ConfigSite{
21 Debug: debug == "1",
22@@ -44,7 +39,7 @@ func NewConfigSite() *shared.ConfigSite {
23 MinioURL: minioURL,
24 MinioUser: minioUser,
25 MinioPass: minioPass,
26- Description: "a blog platform for hackers.",
27+ Description: "A blog platform for hackers.",
28 IntroText: intro,
29 Space: "prose",
30 AllowedExt: []string{".md"},