Skip to content

Use Easy Pastes to create, store, share code snippets by simply pasting them with syntax highlight.

License

Notifications You must be signed in to change notification settings

max-programming/easypastes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy Pastes

An intuitive, amazing, feature rich and easy to use Code paste service!

License

✨ The live Instance

Here's a sneak peak to the app - Link to the GIF

Tech Stack

🛠️ Development or Contributing

If you're interested in growing this project further, Add a .env.local file based on .env.example file. And add the following things:

  • Get your supabase instance info from here.
  • Make a new Clerk App and get the info for it from here.

Installation and Running

Here is a quick and easy guide for you to run EasyPastes for development, or self hosting it for yourself.

🐳 With Docker

Docker is an easy way of containerizing and delivering your applications quickly and easily, in a convenient way. It's really simple to get started with this, with docker handling all the installation and other tasks.

Configure the environmental variables by renaming the .env.example file to .env.local with the respective values. Once you have your environmental variables and config, follow the guide below.

Docker mini guide:

  • To start development environment: docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
  • To start production deployment: docker-compose -f docker-compose.yml -f docker-compose.prod.yml up
  • To stop the container: docker-compose down
  • To rebuild the container: docker-compose --build

Both development and production almost run same thing, With some different tweaks and changes. Both of run on 127.0.0.1:3000. For displaying it in production, Use Nginx or Apache to proxy it.

Without Docker

This is another way to host, but without docker. You can follow this if docker doesn't work well on your system, or it doesn't support it. Containers are resource intensive, and your PC might not be able to do it, this is the perfect method to get started with the self-hosting.

Here are the steps to configure and run the app:

  • Configure Supabase for Database.
  • Configure Clerk for Authentication services.
    • Check this article out for configuration of clerk.
  • Configuring Environmental variables based on Supabase and Clerk setup.
  • Finally run the app!

Environment Variables

To run this project, you will need to properly configure environmental variables. Configure the environmental variables by renaming the .env.example file to .env.local with the respective values.

Run the app!

Install the dependencies first.

yarn
# OR
npm install

Then, Finally, Start the server!

yarn dev
# OR
npm run dev

🤝 Contributing

Contributions, issues and feature requests are welcome. After cloning & setting up project locally, you can just submit a PR to this repo and it will be deployed once it's accepted.

⚠️ It’s good to have descriptive commit messages, or PR titles so that other contributors can understand about your commit or the PR Created. Read conventional commits before making the commit message.

💬 Get in touch

If you have various suggestions, questions or want to discuss things with our community, Have a look at Github discussions or Reach us out at Twitter!

🙌 Show your support

We love and appreciate people's support in growing and improving. Be sure to leave a ⭐️ if you like the project and also be sure to contribute, if you're interested!

License

MIT

Authors

Made by the EasyPastes team with ♥

About

Use Easy Pastes to create, store, share code snippets by simply pasting them with syntax highlight.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages