Coder Social home page Coder Social logo

excalith / excalith-start-page Goto Github PK

View Code? Open in Web Editor NEW
517.0 3.0 146.0 2.99 MB

Terminal-inspired, clean, feature-rich and customizable browser start page for geeks. Has built-in editor for customizing.

Home Page: https://excalith-start-page.vercel.app

License: MIT License

JavaScript 80.94% CSS 3.36% Dockerfile 3.53% Shell 6.86% PowerShell 5.31%
browser next react start-page terminal-like javascript tailwind docker browser-start-page customizable

excalith-start-page's Introduction

Excalith Start Page

This is an interactive start page for browsers, inspired from my terminal setup.

Vercel Status Demo Version (latest semver) GHCR Version (latest semver) Docker Version (latest semver)

Demo

You can explore the working version here. To get inspired by community members' configurations, visit the Showcase in discussions!

Important

This is a demo version and will be updated regularly, which might break your configurations. It is not recommended for daily browsing. Please refer to the wiki page for more information.

Features

  • Filter links by typing in the prompt
    • Quickly filter links by typing in the prompt. Hitting Enter will open all filtered links at once
    • If nothing filtered, the text in prompt will use the default search engine for searching your input
  • Launch websites directly from the prompt. Just type the URL (ie. github.com)
  • Search websites with custom commands. For example, type s some weird bug to search StackOverflow for some weird bug
  • Wallpaper support through URL with blur and fade effects
  • Terminal window opacity and translucency effects
  • Customizable Fetch UI for fetching browser and system data, including custom image support
  • Autosuggest and Autocomplete support just like zsh and fish
  • Cycle through filtered links back and forth
  • Multiple theme support (check all available themes)
  • Built-in configuration editor to easily edit and save your configuration

Please refer to configuration page for more information.

Built-In Commands

  • Show usage with help command (shows basic usage and your configured search shortcuts)
  • Show info with fetch command (time, date, system and browser data)
  • Update your configuration with config command
    • config help - Displays config command usage
    • config import <url> - Imports a configuration from URL
    • config theme - Lists all available themes
    • config theme <theme-name> - Switches between themes and sets your local configuration
    • config edit - Edit local configuration within editor
    • config reset - Reset your configuration to default

Key Bindings

  • Use to auto-complete the suggestion
  • Search without auto-complete with CTRL + ENTER
  • Cycle through filtered links using TAB and SHIFT + TAB
  • Clear the prompt quickly with CTRL + C
  • Close windows with ESC

Using

There are multiple ways of using this app explained in details on getting started wiki page. Here is a TLDR:

Fork

You can fork this repository and have direct control over the source code. This is the best way to customize the start page to your liking. Then you can create Docker images, deploy on your server or serve it locally. Check out the Fork Wiki Page for more information.

Docker Image

Using a Docker image is another convenient way to use the start page. You can either use the image from Docker Hub or Github Registry. Currently supports both amd64 and arm64 images. Check out the Docker Wiki Page for more information.

Online Version

You can use the Online Version (aka. preview version) as well. However, since this is the preview of the project with constant updates, it might break your configurations. I would recommend building your own fork instead. Check out the Online Version Wiki Page for more information.

Customization

This project, at its heart, supports customization to better suit your desktop environment. There are three methods to personalize the project according to your preferences:

You can either

  • Method 1: Configure your fork by editing settings.json file
  • Method 2: Use config edit command to edit on the fly, by built-in json editor
  • Method 3: Use config import <url> command to import your remote config file from your dotfiles repository

Check out the Configuration and Themes wiki pages for more information regarding themes and configuration options.

How To Contribute

Please feel free to contribute any way you can. Just keep in mind that you should pay attention to contributing guideline before contributing.

License

The code is available under the MIT license. Feel free to copy, modify, and distribute the code as you wish, but please keep the original license in the files. Attribution is appreciated and will definetely help improving this project.

excalith-start-page's People

Contributors

excalith avatar marco-debortoli avatar nitrosniper avatar redxtech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

excalith-start-page's Issues

Terminal and Font Transparency Controls

Discussed in #57

Originally posted by g4xx January 5, 2024
It would be nice to separate terminal transparency from font transparency. Currently using opacity parameter really hurts legibility of text if set too low. This of course could be two separate parameters in config.

Currently, the terminal opacity changes the whole opacity of the terminal, including text. It can be further improved by adjusting terminal background and text opacity individually, giving more freedom for customization.

Support for giving different title name

Discussed in #64

Originally posted by NitroSniper January 16, 2024
Noticed that you have a small icon of your fetch in the tab which is really cool!

Made me wonder if you would add support for having a custom name for the title of the tab. This can be done by either having a "title" attribute in the data json. You can retain the current action if it is empty string or do something different.

[BUG] settings.json does not reload

Describe The Bug

Hiya, firstly I'm not sure if this is a bug, I may just be doing something wrong, in which case I'd appreciate an explanation of how to do things correctly. I've done my best to read docs and search things up but I don't do web app dev so I don't really know what I'm doing other than following instructions.

Basically, I'm managing to get the startpage up at localhost:3000, but when I edit settings.json, the changes don't appear on the server, including when I restart the server with pm2 restart (also tried pm2 reload and pm2 delete followed by pm2 start again). I have also tried yarn dev and yarn start but those also seem to only use the config from before the server was started for the first time. I have also tried running yarn build again, to no avail.

I am able to type config edit in the startpage and paste my settings.json in there and it displays my settings as I would expect.

To Reproduce

Steps to reproduce the behavior:

  1. Clone https://github.com/excalith/excalith-start-page.git (or the ssh, I cloned the ssh)
  2. Follow the fork instructions on the wiki:
  3. In the directory of the cloned repo, rm -rf .github/workflows
  4. Install nodejs and yarn (for me, sudo pacman -S nodejs yarn)
  5. In the directory of the repo, type yarn to install all dependencies
  6. Change some things in settings.json prior to starting the server. For me, I changed the theme to Catppuccin Mocha and set my username.
  7. Run yarn dev and go to localhost:3000. See that the webpage currently reflects the state of settings.json.
  8. Ctrl C and then edit settings.json some more. For me, I changed the bookmarks to be the websites I like to use.
  9. Run yarn dev or yarn start or pm2 start "yarn start" (or pm2 start "yarn dev") and observe that the startpage appears as though settings.json was not changed since the first time you started the server
  10. To test, type config edit into the startpage and paste in your settings.json. Save and press esc, observe that your settings have now changes and the startpage reflects your settings.
  • However, note that this way of editing cannot update assets. I've put a wallpaper in the assets folder and am trying to access it in my config, but this wallpaper won't display until I've fixed this.

Expected Behavior

I am able to view a startpage that reflects the state of my settings.json file, either dynamically or by restarting the server or rebuilding.

Specs

  • OS: Arch Linux, no version because rolling release, I guess my kernel is 6.8.1-arch1-1 if that matters?
  • Browser: Firefox 124.0

[BUG] Page Freezes upon returning

Describe the bug

The startpage freezes when returning back using the "Go Back" button in the browser or Alt+Left shortcut.
Search commands and shortcuts still work, but "help", "fetch" etc don't.
Refreshing the page makes it work again. Console reports no error

To Reproduce

Steps to reproduce the behavior:

  1. Open startpage
  2. Search for something
  3. Return back using the "Go Back" button in browser
  4. Page freezes, no commands work

Expected behavior
Not freeze upon returning

Screenshots

2023-03-29.12-22-54.mp4

Specs:

  • OS: 6.2.8-arch1-1
  • Browser: Mozilla Firefox for Arch Linux 111.0.1 (64-bit)

Additional context
I encountered similar behavior on another startpage, issue is linked below
kholmogorov27/chevron#1

[BUG] SVG wallpaper appears differently in Safari in comparison to other browsers

Describe The Bug

SVG wallpaper appears significantly darker in Safari in comparison to other browsers.

To Reproduce

Steps to reproduce the behavior:

  1. Open online version of the page in Safari on macOS/Mac device or using iPhone

Expected Behavior

I would expect visually background to look the same in Safari as in Chrome, or to have an option to adjust.

Screenshots

 2024-03-24 в 17 53 19

2024-03-24 в 13 47 52

Specs

  • OS: macOS Ventura 13.6 and iOS 17.4
  • Browser Safari

[FEATURE] Fetch Improvements

Is your feature request related to a problem? Please describe.
Fetch command is pretty much basic right now and has potential improvements

  • Custom image! No fetch command is complete with custom images.
  • Current start page version display
  • Reorderable data fetching

Additional context
A simple attempt I have tried is turning out beautiful
Screenshot 2023-03-29 at 19 03 23

[FEATURE] Changing default search to use "I feel lucky" option

Please Describe The Feature You Would Like To See

I am pushing the boundaries of the original config and struggle to add an argument to search query to switch parameters of the search in a way that "I feel lucky" option is used.

The idea is to type on start page "github", hit enter and get githuib opened even if GitHub is not saved as a link, instead of getting search engine page by default".

In this example I would like to get a query like this "https://duckduckgo.com/?q=!ducky+github" by using "https://duckduckgo.com/?q=!ducky+" as setting for search config. Yet its not giving me the result that I want

[BUG] target doesn’t apply

The ”target” field in ”URLLaunch” in the config doesn’t actually work. I tried changing its value to “_blank” which means that it would open every link in a new tab but it actually doesn’t….

Commands not working

I have been trying to debug this for a while (like 3 days), and I have had a consistent failure with commands. I'm not sure what the problem is, but I believe it is the regex. I would appreciate if i got some help

Docker multiplatfom build - arm64

Discussed in #52

Originally posted by g4xx December 31, 2023
Hey @excalith !

First off - I really appreciate the aesthetics, simplicity, speed, and the general idea. I love it! Keep it up!

I'm currently hosting this via Docker on my x86 server, and it has been working flawlessly. However, I've been exploring the possibility of running it on my ARM64 devices, particularly Raspberry Pi. Today, I experimented by building ARM64 images locally, and it seems to work without any issues.

Considering the increasing popularity of ARM-based devices, especially for home servers and IoT projects, I wanted to suggest the addition of ARM64 build targets. This could enhance the accessibility of your project to a broader audience.

Thanks for considering this suggestion, and keep up the fantastic work!

Best regards!

[BUG] Opening startpage gives 500 error

Describe The Bug

Upon opening a new tab using the hosted link gives the error:
"500: INTERNAL_SERVER_ERROR
Code: INTERNAL_DEPLOYMENT_FETCH_FAILED
ID: iad1::5g8wx-1705527995677-45a89a676c85"
The ID changes each time a new tab is opening. This happens ~80% of the time I open a new tab of the hosted startpage. Sometimes it loads, but not as often as it doesn't. I have changed colors and bookmarks in the configuration code, but that is all.

To Reproduce

Steps to reproduce the behavior:

  1. Open a new tab of the startpage.

Expected Behavior

Startpage functions normally, without error.

Screenshots

Screenshot 2024-01-17 at 4 52 35 PM

Specs

  • macOS Ventura 13.2.1 (22D68)
  • Firefox 121.0.1

[FEATURE] Tab completion w/ autosuggestions.

Is your feature request related to a problem? Please describe.
I feel like a major missing feature from this is shell completion, it just doesn't feel right without it. However, that could just be me.

Describe the solution you'd like
Some shells have autocomplete built in, like fish. It'd be nice to have here, so if I type something like gi, it'll complete to github, and I can hit enter.

Additional context
image

[BUG] "+" character removed while searching

Describe The Bug

When searching with the + character anywhere in the buffer. It will be removed when searching which can change the normal results. Even force search will have this issue.

To Reproduce

Steps to reproduce the behavior:

  1. Go to StartPage
  2. Search either:
  • "How to do string split in c++" => How to do string split in c
  • "(3 + 4) + (4 + 3)" => "(3 4) (4 3)"
  1. You'll see current search result being changed

Expected Behavior

For the search result to not be changed

Specs

  • OS: Window 10 & Arch Linux
  • Browser: Firefox 121

[BUG] yarn export not working

Describe The Bug

When I run the yarn export command I get the following error:

yarn run v1.22.22
$ next export
 ⨯
    The "next export" command has been removed in favor of "output: export" in next.config.js. Learn more: https://nextjs.org/docs/advanced-features/static-html-export

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

By changing the output field from standalone to export (in next.config.js) and running the yarn build command I manage to obtain the build, but when I try to open the out/index.html file I get a blank page.

//next.config.js
const rulesToProcess = [/\.m?js/, /\.(js|cjs|mjs)$/].map(String)
const dirToIgnore = /tools/

const nextConfig = {
	reactStrictMode: true,
-       output: "standalone",
+       output: "export",
	publicRuntimeConfig: {
		version
	},
	images: {
		unoptimized: true,
		remotePatterns: [
			{
				protocol: "https",
				hostname: "**"
			}
		]
	},
	headers: () => [
		{
			source: "/:path*",
			headers: [
				{
					key: "Cache-Control",
					value: "no-store"
				}
			]
		}
	],
	webpack(config) {
		config.resolve.fallback = {
			// if you miss it, all the other options in fallback, specified
			// by next.js will be dropped.
			...config.resolve.fallback,

			fs: false // the solution
		}

		config.module.rules = config.module.rules.map((rule) => {
			if (rule !== "..." && rulesToProcess.indexOf(String(rule.test)) > -1) {
				rule.exclude = [dirToIgnore]
			}
			return rule
		})

		return config
	},
	env: {
		BUILD_MODE: process.env.BUILD_MODE
	}
}

module.exports = nextConfig

Inspecting the page I see the following errors and wornings:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/css/dec7afba07758c41.css. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/css/607fb85db1ac148f.css. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/webpack-4461f78ae6345ca1.js. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/framework-5429a50ba5373c56.js. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/main-359cf9259ad67a06.js. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/pages/_app-f1f6d5684b7c625b.js. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/75fc9c18-af385d3bdb0a9ad1.js. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/152-39dfe41610587be7.js. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/pages/index-ecdbfcd1250bab28.js. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/9BAVkGOzLyo-hn8nA_nLS/_buildManifest.js. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/9BAVkGOzLyo-hn8nA_nLS/_ssgManifest.js. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/css/dec7afba07758c41.css. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/css/607fb85db1ac148f.css. (Reason: CORS request not http).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/webpack-4461f78ae6345ca1.js. (Reason: CORS request not http).

<script> source URI is not allowed in this document: “file:///_next/static/chunks/webpack-4461f78ae6345ca1.js”. index.html:1:842
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/framework-5429a50ba5373c56.js. (Reason: CORS request not http).

<script> source URI is not allowed in this document: “file:///_next/static/chunks/framework-5429a50ba5373c56.js”. index.html:1:940
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/main-359cf9259ad67a06.js. (Reason: CORS request not http).

<script> source URI is not allowed in this document: “file:///_next/static/chunks/main-359cf9259ad67a06.js”. index.html:1:1033
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/pages/_app-f1f6d5684b7c625b.js. (Reason: CORS request not http).

<script> source URI is not allowed in this document: “file:///_next/static/chunks/pages/_app-f1f6d5684b7c625b.js”. index.html:1:1132
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/75fc9c18-af385d3bdb0a9ad1.js. (Reason: CORS request not http).

<script> source URI is not allowed in this document: “file:///_next/static/chunks/75fc9c18-af385d3bdb0a9ad1.js”. index.html:1:1229
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/152-39dfe41610587be7.js. (Reason: CORS request not http).

<script> source URI is not allowed in this document: “file:///_next/static/chunks/152-39dfe41610587be7.js”. index.html:1:1321
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/chunks/pages/index-ecdbfcd1250bab28.js. (Reason: CORS request not http).

<script> source URI is not allowed in this document: “file:///_next/static/chunks/pages/index-ecdbfcd1250bab28.js”. index.html:1:1421
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/9BAVkGOzLyo-hn8nA_nLS/_buildManifest.js. (Reason: CORS request not http).

<script> source URI is not allowed in this document: “file:///_next/static/9BAVkGOzLyo-hn8nA_nLS/_buildManifest.js”. index.html:1:1522
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///_next/static/9BAVkGOzLyo-hn8nA_nLS/_ssgManifest.js. (Reason: CORS request not http).

<script> source URI is not allowed in this document: “file:///_next/static/9BAVkGOzLyo-hn8nA_nLS/_ssgManifest.js”.

To Reproduce

Steps to reproduce the behavior:

  1. Run yarn export
  2. Change the output field from standalone to export inside next.config.js
  3. Run yarn build
  4. Open out/index.html file

Specs

  • OS: Arch Linux
  • Browser: LibreWolf Firefox 125.0.2-1

Firefox can't open this page

I have been having this issue whenever I search anything where Firefox says:

Firefox Can’t Open This Page

To protect your security, www.google.com will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.

I am not sure how to fix this as it is an issue with Firefox and I have not found anything in https://about:config that will help

[BUG] Local serving doesn't work

Describe The Bug

I was unable to run the project locally in production mode. The Development mode works fine.

To Reproduce

From the clean state, execute "yarn install" and "yarn build".
As per instructions, try to run yarn start. That will produce the error:

"next start" does not work with "output: standalone" configuration. Use "node .next/standalone/server.js" instead.

Ok, se node .next/standalone/server.js. Output (I'm on Windows):

PS D:_My\excalith-start-page> node .next/standalone/server.js
▲ Next.js 14.0.4

This time the server starts, but the page doesn't load - can't find files. Console errors:

Uncaught (in promise) TypeError: Cannot destructure property 'country' of '(intermediate value)' as it is null.
GET http://localhost:3000/_next/static/css/dec7afba07758c41.css net::ERR_ABORTED 404 (Not Found) localhost/:1
GET http://localhost:3000/_next/static/css/607fb85db1ac148f.css net::ERR_ABORTED 404 (Not Found) localhost/:1
GET http://localhost:3000/_next/static/chunks/webpack-4461f78ae6345ca1.js net::ERR_ABORTED 404 (Not Found) localhost/:1
GET http://localhost:3000/_next/static/chunks/main-359cf9259ad67a06.js net::ERR_ABORTED 404 (Not Found) localhost/:1
GET http://localhost:3000/_next/static/chunks/framework-5429a50ba5373c56.js net::ERR_ABORTED 404 (Not Found) localhost/:1
GET http://localhost:3000/_next/static/chunks/pages/_app-f1f6d5684b7c625b.js net::ERR_ABORTED 404 (Not Found) localhost/:1
GET http://localhost:3000/_next/static/chunks/75fc9c18-af385d3bdb0a9ad1.js net::ERR_ABORTED 404 (Not Found) localhost/:1
GET http://localhost:3000/_next/static/chunks/152-39dfe41610587be7.js net::ERR_ABORTED 404 (Not Found) localhost/:1
GET http://localhost:3000/_next/static/chunks/pages/index-0cd460355d554a27.js net::ERR_ABORTED 404 (Not Found) localhost/:1
GET http://localhost:3000/_next/static/w3McG0lBB0i8_KK6uZMy_/_buildManifest.js net::ERR_ABORTED 404 (Not Found) localhost/:1
GET http://localhost:3000/_next/static/w3McG0lBB0i8_KK6uZMy_/_ssgManifest.js net::ERR_ABORTED 404 (Not Found) localhost/:1
GET http://localhost:3000/favicon.ico 404 (Not Found) favicon.ico:1

What can we do to fix things?

Specs

  • OS: Windows 11
  • Browser Brave latest
  • NodeJs - latest

Additional Context

Ideally, I want to run the page as Chevron does in Hosted mode. First, I wanted to run the app via node, and then I wanted to add a script to register it as a service.
I don't know much about frontend development, but hoped it could work that way, without additional software or running docker.

[BUG] `next export` to static HTML doesn't work

info  - Linting and checking validity of types...
info  - Creating an optimized production build...
info  - Compiled successfully
info  - Collecting page data...
info  - Generating static pages (0/3)
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)

Error occurred prerendering page "/404". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)

Error occurred prerendering page "/500". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)

Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
info  - Generating static pages (3/3)

> Build error occurred
Error: Export encountered errors on following paths:
	/
	/_error: /404
	/_error: /500
    at /usr/local/lib/node_modules/next/dist/export/index.js:408:19
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Span.traceAsyncFn (/usr/local/lib/node_modules/next/dist/trace/trace.js:79:20)
    at async /usr/local/lib/node_modules/next/dist/build/index.js:1331:21
    at async Span.traceAsyncFn (/usr/local/lib/node_modules/next/dist/trace/trace.js:79:20)
    at async /usr/local/lib/node_modules/next/dist/build/index.js:1191:17
    at async Span.traceAsyncFn (/usr/local/lib/node_modules/next/dist/trace/trace.js:79:20)
    at async Object.build [as default] (/usr/local/lib/node_modules/next/dist/build/index.js:65:29)
info  - using build directory: /data/make-cd/files/usr/local/www/homepages/excalith/.next
info  - Copying "static build" directory
info  - No "exportPathMap" found in "/data/make-cd/files/usr/local/www/homepages/excalith/next.config.js". Generating map from "./pages"
info  - Launching 15 workers
info  - Exporting (0/3)
info  - Copying "public" directory
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)

Error occurred prerendering page "/404.html". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)

Error occurred prerendering page "/404". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)

Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Cannot read properties of null (reading 'useEffect')
    at exports.useEffect (/data/make-cd/files/usr/local/www/homepages/excalith/node_modules/react/cjs/react.production.min.js:24:292)
    at App (/data/make-cd/files/usr/local/www/homepages/excalith/.next/server/pages/_app.js:52:53)
    at Wc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
    at $c (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
    at bd (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
    at Zc (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:479)
    at Z (/usr/local/lib/node_modules/next/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
info  - Exporting (3/3)
Error: Export encountered errors on following paths:
	/
	/_error: /404
	/_error: /404.html
    at /usr/local/lib/node_modules/next/dist/export/index.js:408:19
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Span.traceAsyncFn (/usr/local/lib/node_modules/next/dist/trace/trace.js:79:20)

OS: FreeBSD 13.1-RELEASE
Next.js v13.0.3
yarn 1.22.18

[BUG] url starting with "https://" does not work

Describe The Bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to startpage
  2. Enter "https://source.unsplash.com/1920x1080/?neon-city"
  3. In address bar, "https://https://source.unsplash.com/1920x1080/?neon-city" is opened

Expected Behavior

Truncate "https://" when input url is starting with it.

Screenshots

If applicable, add screenshots to help explain your problem.

Specs

  • OS: macOS
  • Browser firefox

Additional Context

Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.