Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arnav-kr/slcodepreview
A tool To Preview and Download Your SoloLearn Codes
https://github.com/arnav-kr/slcodepreview
code downloader previewer sololearn tool utility
Last synced: 2 months ago
JSON representation
A tool To Preview and Download Your SoloLearn Codes
- Host: GitHub
- URL: https://github.com/arnav-kr/slcodepreview
- Owner: arnav-kr
- Created: 2021-04-17T11:48:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T08:17:03.000Z (over 1 year ago)
- Last Synced: 2024-11-02T13:11:40.421Z (3 months ago)
- Topics: code, downloader, previewer, sololearn, tool, utility
- Language: JavaScript
- Homepage: https://arnav-kr.github.io/slcodepreview/
- Size: 819 KB
- Stars: 15
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SoloLearn Code Previewer and Downloader
## A tool To Preview and Download SoloLearn CodesJust Put Your Code URL in the Search Box and Done!
it will preview your code
You can Also Copy the Source Code By Clicking The Copy Button
You Can Download the Source Code (If Browser Supported)
You Can Also Share The Preview With Others Just click Button (If Browser Supported)
## Preview Codes Directly From SoloLearn
To preview you codes from sololearn at first you have to install the previewer to your device
this sharing feature is limited to devices
here is support info
```
Chrome 76 or later for Android, or Chrome 89 or later on desktop
```
#### HOW to Do So1. Using either Chrome 76 or later for Android, or Chrome 89 or later on desktop, open the [SL Code Previewer](https://arnav-kr.github.io/slcodepreview).
2. Go to website settings and clear site data to insure that you are viewing the latest, reload the [SL Code Previewer](https://arnav-kr.github.io/slcodepreview)
3. When prompted, click Install to add the app to your home screen, or use the Chrome menu to add it to your home screen.
4. Open SoloLearn, Open any code and Click Share Button.
5. From the target picker, [SL Code Previewer](https://arnav-kr.github.io/slcodepreview).## Use It as a hosting service for Your Codes
syntax of url is simple
`https://arnav-kr.slcodepreview/` is the main previewer url
query | values |
|---|---|
| `q` | your code id \|\| your code url |
| nav | 0 \|\| 1 |nav parameter is for the visibility of navbar
you can set it to `0` to hide the nav bar
so the syntax would be
```
https://arnav-kr.slcodepreview/?q=[yourCode id or URL]&nav=0
```## Direct Hosting
For Direct Hosting Take any of your sololearn codes in that just change `.com` to `.repl.co` and it will be hosted
By, [Arnav Kumar](https://github.com/arnav-kr)