smirkd commited on
Commit
3c156a2
·
1 Parent(s): 02a5f86

Remove login requirement and update share links

Browse files

- Increase MAX_REQUESTS_PER_IP to 999999 for unlimited free usage
- Update share links to https://huggingface.co/spaces/Tesslate/deepsite-v2
- Update Twitter mention to @tesslateai
- Update footer help link to https://x.com/tesslateai

components/editor/footer/index.tsx CHANGED
@@ -75,17 +75,17 @@ export function Footer({
75
  </div>
76
  <div className="flex justify-end items-center gap-2.5">
77
  <a
78
- href="https://huggingface.co/spaces/victor/deepsite-gallery"
79
  target="_blank"
80
  >
81
  <Button size="sm" variant="ghost">
82
  <SparkleIcon className="size-3.5" />
83
- <span className="max-lg:hidden">DeepSite Gallery</span>
84
  </Button>
85
  </a>
86
  <a
87
  target="_blank"
88
- href="https://huggingface.co/spaces/enzostvs/deepsite/discussions/157"
89
  >
90
  <Button size="sm" variant="outline">
91
  <HelpCircle className="size-3.5" />
 
75
  </div>
76
  <div className="flex justify-end items-center gap-2.5">
77
  <a
78
+ href="https://huggingface.co/spaces/Tesslate/deepsite-v2"
79
  target="_blank"
80
  >
81
  <Button size="sm" variant="ghost">
82
  <SparkleIcon className="size-3.5" />
83
+ <span className="max-lg:hidden">DeepSite</span>
84
  </Button>
85
  </a>
86
  <a
87
  target="_blank"
88
+ href="https://x.com/tesslateai"
89
  >
90
  <Button size="sm" variant="outline">
91
  <HelpCircle className="size-3.5" />
components/invite-friends/index.tsx CHANGED
@@ -51,7 +51,7 @@ export function InviteFriends() {
51
  </p>
52
  <div className="mt-4 space-x-3.5">
53
  <a
54
- href="https://x.com/intent/post?url=https://enzostvs-deepsite.hf.space/&text=Checkout%20this%20awesome%20Ai%20Tool!%20Vibe%20coding%20has%20never%20been%20so%20easy✨"
55
  target="_blank"
56
  rel="noopener noreferrer"
57
  >
@@ -69,7 +69,7 @@ export function InviteFriends() {
69
  size="sm"
70
  className="!text-neutral-700"
71
  onClick={() => {
72
- copyToClipboard("https://enzostvs-deepsite.hf.space/");
73
  toast.success("Invite link copied to clipboard!");
74
  }}
75
  >
 
51
  </p>
52
  <div className="mt-4 space-x-3.5">
53
  <a
54
+ href="https://x.com/intent/post?url=https://huggingface.co/spaces/Tesslate/deepsite-v2&text=Checkout%20this%20awesome%20AI%20Tool%20by%20@tesslateai!%20Build%20websites%20with%20AI✨"
55
  target="_blank"
56
  rel="noopener noreferrer"
57
  >
 
69
  size="sm"
70
  className="!text-neutral-700"
71
  onClick={() => {
72
+ copyToClipboard("https://huggingface.co/spaces/Tesslate/deepsite-v2");
73
  toast.success("Invite link copied to clipboard!");
74
  }}
75
  >
lib/prompts.ts CHANGED
@@ -1,7 +1,7 @@
1
  export const SEARCH_START = "<<<<<<< SEARCH";
2
  export const DIVIDER = "=======";
3
  export const REPLACE_END = ">>>>>>> REPLACE";
4
- export const MAX_REQUESTS_PER_IP = 2;
5
  export const INITIAL_SYSTEM_PROMPT = `ONLY USE HTML, CSS AND JAVASCRIPT. If you want to use ICON make sure to import the library first. Try to create the best UI possible by using only HTML, CSS and JAVASCRIPT. MAKE IT RESPONSIVE USING TAILWINDCSS. Use as much as you can TailwindCSS for the CSS, if you can't do something with TailwindCSS, then use custom CSS (make sure to import <script src="https://cdn.tailwindcss.com"></script> in the head). Also, try to ellaborate as much as you can, to create something unique. ALWAYS GIVE THE RESPONSE INTO A SINGLE HTML FILE`;
6
  export const FOLLOW_UP_SYSTEM_PROMPT = `You are an expert web developer modifying an existing HTML file.
7
  The user wants to apply changes based on their request.
 
1
  export const SEARCH_START = "<<<<<<< SEARCH";
2
  export const DIVIDER = "=======";
3
  export const REPLACE_END = ">>>>>>> REPLACE";
4
+ export const MAX_REQUESTS_PER_IP = 999999; // Effectively unlimited for free usage
5
  export const INITIAL_SYSTEM_PROMPT = `ONLY USE HTML, CSS AND JAVASCRIPT. If you want to use ICON make sure to import the library first. Try to create the best UI possible by using only HTML, CSS and JAVASCRIPT. MAKE IT RESPONSIVE USING TAILWINDCSS. Use as much as you can TailwindCSS for the CSS, if you can't do something with TailwindCSS, then use custom CSS (make sure to import <script src="https://cdn.tailwindcss.com"></script> in the head). Also, try to ellaborate as much as you can, to create something unique. ALWAYS GIVE THE RESPONSE INTO A SINGLE HTML FILE`;
6
  export const FOLLOW_UP_SYSTEM_PROMPT = `You are an expert web developer modifying an existing HTML file.
7
  The user wants to apply changes based on their request.